When trying to create a Workbench Script for the World Editor, I have run into the following problem: I get the error
Unknown type 'NameOfTheType'
when compiling if I use certain types in my script. See here for an attached example:
I tested with the following types and always get the error: RoadGeneratorEntity, RoadEntity, ShapeEntity, SplineShapeEntity, RiverEntity
The classes/types get recognized by the editor (information when hovering / navigation when Ctrl+Click), so the problem is just when compiling.
The problem persists when trying it in a new script file or project.