How to fix a corrupt pawn properly?


My Unreal Editor crashes on 95% on startup.
Basically it’s due to a ProceduralMesh of the parent pawn (its inherited) and can’t start the editor.

So it’s caused due to a child pawn blueprint that inherits another pawn.
The ‘parent pawn’ inherits a c++ pawn that adds 2 ProceduralMeshComponants (for left and right hand).
The strange thing is that it crashed on the right hand while the left is loaded first.

I think its due to that the pawn is loaded before the ProceduralMesh of the Engine is loaded.

Also this error seems to occur from time to time.
It started when I closed the Editor without saving the Child Pawn (I wanted to disregard all changes).

Workaround Details:

To fix it I remove the corrupted child pawn (‘ProjectN_FPS_PawnCharacter.uasset’) in Windows Explorer and then start my project.
When the Editor is Started I simply paste back the .uasset in Windows and then I have to fix all references.

Now this workaround works so I can still work on my project, but it is very annoying.

How can I fix this properly?


[2018.03.24-16.09.53:763][ 0]LogWindows: Error: === Critical error: ===
[2018.03.24-16.09.53:763][ 0]LogWindows: Error:
[2018.03.24-16.09.53:763][ 0]LogWindows: Error: Assertion failed: !Obj->HasAnyFlags(RF_NeedLoad|RF_NeedPostLoad|RF_ClassDefaultObject) || bIsOwnedByCDO [File:C:\GitHub\UnrealEngineEpic\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp] [Line: 2384]
[2018.03.24-16.09.53:763][ 0]LogWindows: Error: Attempting to replace an object that hasn’t been fully loaded: BodySetup /Game/ProjectN/ProjectN_FPS_PawnCharacter.ProjectN_FPS_PawnCharacter_C:ProceduralMeshRight_GEN_VARIABLE.BodySetup_8 (Outer=ProceduralMeshComponent /Game/ProjectN/ProjectN_FPS_PawnCharacter.ProjectN_FPS_PawnCharacter_C:ProceduralMeshRight_GEN_VARIABLE, Flags=0x00283029)
[2018.03.24-16.09.53:763][ 0]LogWindows: Error:
[2018.03.24-16.09.53:763][ 0]LogWindows: Error:
[2018.03.24-16.09.53:763][ 0]LogWindows: Error: [Callstack] 0x000000001D124008 KERNELBASE.dll!UnknownFunction []
[2018.03.24-16.09.53:763][ 0]LogWindows: Error: [Callstack] 0x00000000FF7D7884 UE4Editor-ApplicationCore.dll!FWindowsErrorOutputDevice::Serialize() [c:\github\unrealengineepic\engine\source\runtime\applicationcore\private\windows\windowserroroutputdevice.cpp:65]



We’ve recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.