Description

The attached project will crash whenever attempting to load the default map which is parented to a custom level script made by the user.

Note: This issue doesn't occur for all maps in the project. If you wish to convert to 4.8 without the project crashing on launch, change the default map to a blank map before converting to 4.8.

Steps to Reproduce

1. Download the project - [Link Removed]
2. Unzip the folder and right click the .uproject file to 'Switch Unreal Engine version' and select 4.8 (If you receive an error related to the Substance plugin, please delete the 'Plugins' folder and repeat this step)
3. Open the 'Test2.sln' file and, once it finishes loading, compile the project (ctrl+shift+b)
4. Open the project by double clicking the .uproject file
Result: The unreal engine stops responding while loading
Expected: The project loads without an issue

Callstack

Fatal error: [Link Removed] [Line: 11]
Cast of Class /Script/Engine.BlueprintGeneratedClass to BlueprintGeneratedClass failed

KERNELBASE.dll

{0x000007fefda4aaad}

+ 0 bytes
UE4Editor-Core.dll!FOutputDeviceWindowsError::Serialize()

{0x000007fedc6f7c0f}

+ 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor-Core.dll!FOutputDevice::Logf__VA()

{0x000007fedc5b10b8}

+ 159 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor-Core.dll!FDebug::AssertFailed()

{0x000007fedc581e72}

+ 65 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor-CoreUObject.dll!CastLogError()

{0x000007fedd22ccdf}

+ 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor-Engine.dll!CastChecked<UBlueprintGeneratedClass,UClass>()

{0x000007fed978d271}

+ 89 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor-Engine.dll!UActorComponent::PostLoad()

{0x000007feda252a49}

+ 23 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor-Engine.dll!ULightComponent::PostLoad()

{0x000007feda2c37de}

+ 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor-Engine.dll!UPointLightComponent::PostLoad()

{0x000007feda2c3b5e}

+ 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor-CoreUObject.dll!UObject::ConditionalPostLoad()

{0x000007fedd2d9a3f}

+ 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor-CoreUObject.dll!EndLoad()

{0x000007fedd3d4f97}

+ 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor-CoreUObject.dll!LoadPackageInternal()

{0x000007fedd3e4a67}

+ 5 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor-UnrealEd.dll!UEditorEngine::Map_Load()

{0x000007fed2849e25}

+ 29 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor-UnrealEd.dll!UEditorEngine::HandleMapCommand()

{0x000007fed28366f5}

+ 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor-UnrealEd.dll!UEditorEngine::Exec()

{0x000007fed281ffd0}

+ 21 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor-UnrealEd.dll!UUnrealEdEngine::Exec()

{0x000007fed2c35aa1}

+ 17 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor-UnrealEd.dll!FEditorFileUtils::LoadMap()

{0x000007fed28c6bb0}

+ 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor-UnrealEd.dll!FEditorFileUtils::LoadDefaultMapAtStartup()

{0x000007fed28c681e}

+ 56 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor-UnrealEd.dll!FUnrealEdMisc::OnInit()

{0x000007fed2c76056}

+ 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor-UnrealEd.dll!EditorInit()

{0x000007fed2c33a8e}

+ 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor.exe!GuardedMain()

{0x000000013ff9472e}

+ 0 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor.exe!GuardedMainWrapper()

{0x000000013ff94a4a}

+ 5 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor.exe!WinMain()

{0x000000013ffa65c9}

+ 17 bytes [d:\buildfarm\buildmachine_++depot+ue4-releases+4.8\engine\sou
UE4Editor.exe!__tmainCRTStartup()

{0x000000013ffa75d9}

+ 21 bytes [f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c:618]
kernel32.dll

{0x00000000779d59cd}

+ 0 bytes
ntdll.dll

{0x0000000077b0b891} + 0 bytes
ntdll.dll {0x0000000077b0b891}

+ 0 bytes

Have Comments or More Details?

Head over to the existingAnswerHub thread and let us know what's up.

0
Login to Vote

Cannot Reproduce
ComponentGameplay - Blueprint
Affects Versions4.8
Target Fix4.9
Fix Commit2641233
CreatedJul 30, 2015
ResolvedAug 5, 2015
UpdatedApr 27, 2018