100% crash on packaged game on lauch, crash one time on editor, then work on second time
i have a crash when i package my game when i initialise the menu with the macro init game settings
here is the log
[2016.02.13-14.04.30:062][704]LogOutputDevice:Warning:
Script Stack:
BP_GameInstance_C.ExecuteUbergraph_BP_GameInstance
BP_GameInstance_C.ReceiveInit
[2016.02.13-14.04.30:063][704]LogWindows:Error: Windows GetLastError: L’opération a réussi. (0)
[2016.02.13-14.04.30:447][704]LogCrashTracker:
[2016.02.13-14.04.30:447][704]LogCrashTracker:
[2016.02.13-14.04.30:447][704]LogWindows:Error: === Critical error: ===
Assertion failed: ((UObject*)ContainerPtr)->IsA((UClass*)GetOuter()) [File:D:\BuildFarm\buildmachine_++depot+UE4-Releases+4.10\Engine\Source\Runtime\CoreUObject\Public\UObject\UnrealType.h] [Line: 308]
'GameSettings_C_0' is of class 'GameSettings_C' however property 'StrProperty_84' belongs to class 'TRASHCLASS_GameSettings_156'
i understand that the game crash when my game instance run the “event init” where i only have the macro “init game settings”
i use my own game instance with interface implemented
someone has this problem too with ue 4.10.2 ?
i found some information about the error with the word “TRASHCLASS” and people often refer to a macro causing this problem
i really dont know how to fix this
thanks for help
ps: strange behavior with this crash is that it does 100% crash on packaged game, but it crash one time on editor, then it work on second try, (and sometime it will crash again on the first try, then work again)