EpicSkookumScript / SkookumScript-Plugin

Latest full source of the SkookumScript UE4 plugin and runtime.
https://skookumscript.com/unreal/
Other
135 stars 23 forks source link

Assertion failed: !Obj->HasAnyFlags(RF_NeedLoad|RF_NeedPostLoad|RF_ClassDefaultObject) || bIsOwnedByCDO #32

Open error454 opened 4 years ago

error454 commented 4 years ago

UE4 Version 4.18-Current

SkookumScript Version 4.18-Current

Describe the bug Once the bug hits, you will get this stack trace when starting the editor.

0x00000000676E47F9 UE4Editor-Core.dll!FDebug::AssertFailed() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\core\private\misc\assertionmacros.cpp:414]
0x000000006BEBE73A UE4Editor-CoreUObject.dll!StaticAllocateObject() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:2365]
0x000000006BEC0191 UE4Editor-CoreUObject.dll!StaticConstructObject_Internal() [d:\build\++ue4+release-4.18+compile\sync\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:3145]
0x000000004BCDAE3A UE4Editor-SkookumScriptRuntime.dll!SkUEReflectionManager::add_instance_property_to_class() [d:\build\++portal+dev-marketplace+full\sync\localbuilds\plugintemp\hostproject\plugins\skookumscript\source\skookumscriptruntime\private\bindings\skuereflectionmanager.cpp:788]
0x000000004BE4DFA6 UE4Editor-SkookumScriptRuntime.dll!SkUEReflectionManager::sync_all_to_ue() [d:\build\++portal+dev-marketplace+full\sync\localbuilds\plugintemp\hostproject\plugins\skookumscript\source\skookumscriptruntime\private\bindings\skuereflectionmanager.cpp:723]
0x000000004BCCF8EF UE4Editor-SkookumScriptRuntime.dll!FSkookumScriptRuntime::OnPreCompile() [d:\build\++portal+dev-marketplace+full\sync\localbuilds\plugintemp\hostproject\plugins\skookumscript\source\skookumscriptruntime\private\skookumscriptruntime.cpp:1466]
0x000000004BCC97D6 UE4Editor-SkookumScriptRuntime.dll!TBaseRawMethodDelegateInstance<0,FSkookumScriptRuntime,void __cdecl(void)>::ExecuteIfSafe() [d:\rocketsync\4.18.0-3709383+++ue4+release-4.18\working\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:648]

To Reproduce I still have not been able to nail down specific reproduction steps as this is one of those bugs that goes away as soon as you try to debug it. The times when this has happened, I was doing a workflow where I was adding/deleting an sk constructor by moving files into and out of the scripts folder and then reloading my project. This may or may not be a factor.