Hi,
when overriding PostInitProperties in an Actor the Unreal-Editor crashes after building, when not calling Super::PostInitProperties in the declaration. Afterwards the Project can not be opened anymore without crashing the Editor while loading at around 70%. The actor needs to have an instance in the level (dragged into to world) for that to happen.
What can be done to “rescue” such a Project?
Is there a possibility to prevent crashing when making easy to make errors like forgetting a super-method-call?
Kind Regards
Follow Up:
Crash Message:
Unknown exception - code 00000001 (first/second chance not available)
Fatal error: [File:D:\BuildFarm\buildmachine_++depot+UE4-Releases+4.7\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp] [Line: 2008]
MyActor failed to route PostInitProperties
…
So it more or less says what’s wrong. Nevertheless I would like to suggest to make it more user-friendly by either not crashing the editor or giving a hint in the crash report. (Something like: “PostInitProperties requires a Super call. Maybe such a call is missing.”)