Fatal Error! after spawning a blueprint.
for more information see the posts starting here.
To get the error, follow this:
Hook Spawn Actor from class to beginplay from BP_RTS_Controller with a default transform and class BP_RTS_Previewbuilding.
Compile,save, test, exit.
Restart and you get the error.
Am i doing something wrong or is this a bug?
asked Nov 23 '14 at 06:16 PM in Bug Reports
The crash is caused from an circular reference being created when the controller spawns the PreviewBuilding BP instance. The OwnerPC variable creates a reference to the controller that is spawning the PreviewBuilding BP which creates the OwnerPC variable (and down the rabbit hole you go). The simplest solution would be to do the location calculation in the Controller and have the controller tell the actor where it is and if it can spawn there.
answered Nov 24 '14 at 08:46 PM
Ill get situations like you've mentioned. Touch interfaces can cause crashes too, but everytime its been an error that i created. Id duplicate your blue print then start deleting stuff or reset settings to default until it will run. Maybe you can identify the problem. Thats what i do.
answered Nov 23 '14 at 07:29 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here