This user's project crashes on opening a level in PIE after adding a variable to a struct referenced in the GameInstance. Note that I had to do this twice to get the crash to occur.
The project can be found here:
[Link Removed]
The editor will freeze for a while before the crash reporter comes up.
Reproduced in 4.8.3 binary, 4.9.0 binary, and Main (CL 2678421)
Crash Report:
[Link Removed]
1. Download the project from [Link Removed]
2. Open LevelInfo struct
3. Add a new variable to the struct
4. Save
5. Open the RTSGameInstance
6. Compile/Save
7. PIE
8. Click the Host Game button
Result:
Crash NOTE you may need to follow these steps twice before the crash occurs
Assertion failed: ((UObject*)ContainerPtr)->IsA((UClass*)GetOuter()) [File:D:\BuildFarm\buildmachine_++depot+UE4-Releases+4.8\Engine\Source\Runtime\CoreUObject\Public\UObject\UnrealType.h] [Line: 304] 'RTSGameInstance_C_0' is of class 'RTSGameInstance_C' however property 'ArrayProperty_150' belongs to class 'TRASHCLASS_RTSGameInstance_571' UE4Editor_CoreUObject!UObject::execInstanceVariable() scriptcore.cpp:1074 UE4Editor_CoreUObject!UObject::ProcessContextOpcode() scriptcore.cpp:1552 UE4Editor_Engine!UKismetArrayLibrary::execArray_Get() kismetarraylibrary.h:388 UE4Editor_CoreUObject!UFunction::Invoke() class.cpp:4125 UE4Editor_CoreUObject!UObject::CallFunction() scriptcore.cpp:463 UE4Editor_CoreUObject!UObject::ProcessContextOpcode() scriptcore.cpp:1552 UE4Editor_CoreUObject!UObject::ProcessInternal() scriptcore.cpp:673 UE4Editor_CoreUObject!UObject::CallFunction() scriptcore.cpp:587 UE4Editor_CoreUObject!UObject::ProcessInternal() scriptcore.cpp:673 UE4Editor_CoreUObject!UObject::CallFunction() scriptcore.cpp:587 UE4Editor_CoreUObject!UObject::ProcessInternal() scriptcore.cpp:673 UE4Editor_CoreUObject!UObject::CallFunction() scriptcore.cpp:587 UE4Editor_CoreUObject!UObject::ProcessInternal() scriptcore.cpp:673 UE4Editor_CoreUObject!UFunction::Invoke() class.cpp:4125 UE4Editor_CoreUObject!UObject::ProcessEvent() scriptcore.cpp:1023 UE4Editor_Engine!AActor::ProcessEvent() actor.cpp:520 UE4Editor_Engine!AActor::ProcessUserConstructionScript() actorconstruction.cpp:539 UE4Editor_Engine!AActor::ExecuteConstruction() actorconstruction.cpp:487 UE4Editor_Engine!AActor::RerunConstructionScripts() actorconstruction.cpp:366 UE4Editor_Engine!ULevel::IncrementalUpdateComponents() level.cpp:746 UE4Editor_Engine!UWorld::UpdateWorldComponents() world.cpp:1266 UE4Editor_Engine!UWorld::InitializeActorsForPlay() world.cpp:2930 UE4Editor_Engine!UEngine::LoadMap() unrealengine.cpp:9260 UE4Editor_Engine!UEngine::Browse() unrealengine.cpp:8360 UE4Editor_Engine!UEngine::TickWorldTravel() unrealengine.cpp:8535 UE4Editor_UnrealEd!UEditorEngine::Tick() editorengine.cpp:1277 UE4Editor_UnrealEd!UUnrealEdEngine::Tick() unrealedengine.cpp:366 UE4Editor!FEngineLoop::Tick() launchengineloop.cpp:2359 UE4Editor!GuardedMain() launch.cpp:142 UE4Editor!GuardedMainWrapper() launchwindows.cpp:126 UE4Editor!WinMain() launchwindows.cpp:200
How does TextureRenderTarget2D get TArray<uint8> type data?
How do I set a material as a post-processing material?
UMG RichText not appear image when packaged
Why does the REMOVE method of map container remove elements have memory leaks?
How to delete some elements correctly when deleting an array loop?
What is the difference between Camera and CineCamera?
What is the cause of the packaging error falling back to 'GameUserSettings' in ue5?
Head over to the existing Questions & Answers thread and let us know what's up.
0 |
Component | UE - Gameplay - Blueprint |
---|---|
Affects Versions | 4.8.3, 4.9, 4.10 |
Target Fix | 4.11 |
Created | Sep 3, 2015 |
---|---|
Resolved | Jan 12, 2016 |
Updated | Apr 27, 2018 |