Developer Notes

Creating a blueprint of WorldSettings is not intended workflow.

Description

If a blueprint based on a custom World Settings class is set in the project settings then the editor crashes on open

Steps to Reproduce

1. Open UE4 Editor (4.9 preview)
2. Create new class based on World Settings (MyWorldSettings)
3. Add "Blueprintable" to the UCLASS() macro of MyWorldSettings
4. Compile
5. Create a blueprint based on MyWorldSettings (MyWorldSettingsBP)
6. In Edit->Project Settings->Engine->GeneralSettings: set __ to MyWorldSettingsBP
7. Close and reopen the editor

Result:
Editor crashes during load on open

Callstack
MachineId:9FA88CA44B7C623122B0039D6C8BA1B0
EpicAccountId:c807849e05a0413d99e379f2802cae9c

Access violation - code c0000005 (first/second chance not available)

""

UE4Editor_Engine!AActor::ExecuteConstruction() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.9\engine\source\runtime\engine\private\actorconstruction.cpp:456]
UE4Editor_Engine!AActor::FinishSpawning() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.9\engine\source\runtime\engine\private\actor.cpp:2576]
UE4Editor_Engine!AActor::PostSpawnInitialize() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.9\engine\source\runtime\engine\private\actor.cpp:2534]
UE4Editor_Engine!UWorld::SpawnActor() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.9\engine\source\runtime\engine\private\levelactor.cpp:409]
UE4Editor_Engine!UWorld::SpawnActor() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.9\engine\source\runtime\engine\private\levelactor.cpp:246]
UE4Editor_Engine!UWorld::RepairWorldSettings() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.9\engine\source\runtime\engine\private\world.cpp:818]
UE4Editor_Engine!UWorld::PostLoad() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.9\engine\source\runtime\engine\private\world.cpp:572]
UE4Editor_CoreUObject!UObject::ConditionalPostLoad() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.9\engine\source\runtime\coreuobject\private\uobject\obj.cpp:723]
UE4Editor_CoreUObject!UObject::PostLoadSubobjects() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.9\engine\source\runtime\coreuobject\private\uobject\obj.cpp:744]
UE4Editor_CoreUObject!UObject::ConditionalPostLoadSubobjects() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.9\engine\source\runtime\coreuobject\private\uobject\obj.cpp:812]
UE4Editor_CoreUObject!UObject::ConditionalPostLoad() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.9\engine\source\runtime\coreuobject\private\uobject\obj.cpp:720]
UE4Editor_CoreUObject!UObject::PostLoadSubobjects() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.9\engine\source\runtime\coreuobject\private\uobject\obj.cpp:744]
UE4Editor_Engine!AActor::PostLoadSubobjects() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.9\engine\source\runtime\engine\private\actor.cpp:538]
UE4Editor_CoreUObject!UObject::ConditionalPostLoadSubobjects() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.9\engine\source\runtime\coreuobject\private\uobject\obj.cpp:812]
UE4Editor_CoreUObject!UObject::ConditionalPostLoad() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.9\engine\source\runtime\coreuobject\private\uobject\obj.cpp:720]
UE4Editor_CoreUObject!UObject::PostLoadSubobjects() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.9\engine\source\runtime\coreuobject\private\uobject\obj.cpp:744]
UE4Editor_CoreUObject!UObject::ConditionalPostLoadSubobjects() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.9\engine\source\runtime\coreuobject\private\uobject\obj.cpp:812]
UE4Editor_CoreUObject!UObject::ConditionalPostLoad() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.9\engine\source\runtime\coreuobject\private\uobject\obj.cpp:720]
UE4Editor_CoreUObject!EndLoad() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.9\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:1285]
UE4Editor_CoreUObject!LoadPackageInternal() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.9\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:1041]
UE4Editor_UnrealEd!UEditorEngine::Map_Load() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.9\engine\source\editor\unrealed\private\editorserver.cpp:2321]
UE4Editor_UnrealEd!UEditorEngine::HandleMapCommand() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.9\engine\source\editor\unrealed\private\editorserver.cpp:5823]
UE4Editor_UnrealEd!UEditorEngine::Exec() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.9\engine\source\editor\unrealed\private\editorserver.cpp:5317]
UE4Editor_UnrealEd!UUnrealEdEngine::Exec() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.9\engine\source\editor\unrealed\private\unrealedsrv.cpp:743]
UE4Editor_UnrealEd!FEditorFileUtils::LoadMap() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.9\engine\source\editor\unrealed\private\filehelpers.cpp:2014]
UE4Editor_UnrealEd!FEditorFileUtils::LoadDefaultMapAtStartup() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.9\engine\source\editor\unrealed\private\filehelpers.cpp:3215]
UE4Editor_UnrealEd!FUnrealEdMisc::OnInit() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.9\engine\source\editor\unrealed\private\unrealedmisc.cpp:299]
UE4Editor_UnrealEd!EditorInit() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.9\engine\source\editor\unrealed\private\unrealed.cpp:86]
UE4Editor!GuardedMain() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.9\engine\source\runtime\launch\private\launch.cpp:133]
UE4Editor!GuardedMainWrapper() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.9\engine\source\runtime\launch\private\windows\launchwindows.cpp:126]
UE4Editor!WinMain() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.9\engine\source\runtime\launch\private\windows\launchwindows.cpp:200]

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

0
Login to Vote

Won't Fix
ComponentUE - Gameplay
Affects Versions4.9
CreatedAug 19, 2015
ResolvedOct 23, 2015
UpdatedJul 14, 2021
View Jira Issue