HI I was hoping to alter and create Landscape via blueprints. Is this possible? I have tried this:
However this just crashes the editor. I can’t find any documentation on this.
Any help gratefully received.
Ed
HI I was hoping to alter and create Landscape via blueprints. Is this possible? I have tried this:
However this just crashes the editor. I can’t find any documentation on this.
Any help gratefully received.
Ed
I think you’re using a widget to spawn the actor. I recommend trying to achieve this in an Editor-Only project first, then considering the impact of converting it to a project that doesn’t rely on the editor.
Try enabling the built in editor scripting utilities plugin.
Then create a new class from the EditorUtilityActor.
Inside the new blueprint, add a node for Spawn Actor From Class, using the class-specific plugin.
Then add a custom event to call the function, and set “Call in Editor” to true.
Now you can click the button to spawn the landscape from the editor details panel.
With this test, I did not have a crash in the editor.
To move on to a point where you can edit a landscape in the game directly, I recommend having a landscape already present in the scene, and then checking out what functions work on the landcape while the game is running in the same way you tested the “spawn actor from class” function.
Good luck!