getnamo / BLUI-Unreal

CEF based HTML UI for the Unreal Engine.
MIT License
350 stars 73 forks source link

BLUI causes crash when used with AsyncLoading #86

Open KieranChandler opened 10 months ago

KieranChandler commented 10 months ago

When using AsyncLoading such as when using the AsyncLoadingScreen plugin, the engine crashes when trying to asynchronously load content for the BLUI plugin during the loading screen. I have figured out the issue, its due to invalid values in the .uplugin and I will raise a PR for this

The following is a call stack from the crash:

Fatal error: [File:B:/essentialue4/Engine/Source/Runtime/CoreUObject/Private/Serialization/AsyncLoading.cpp] [Line: 3159] Could not find SuperStruct ReceiveBeginPlay to create ReceiveBeginPlay

MortarMen_Win64_DebugGame!FAsyncPackage::EventDrivenSerializeExport() [B:\essentialue4\Engine\Source\Runtime\CoreUObject\Private\Serialization\AsyncLoading.cpp:3159]
MortarMen_Win64_DebugGame!FAsyncPackage::ProcessImportsAndExports_Event() [B:\essentialue4\Engine\Source\Runtime\CoreUObject\Private\Serialization\AsyncLoading.cpp:3539]
MortarMen_Win64_DebugGame!<lambda_1027454e387f3a3c5657b568269c2148>::operator()() [B:\essentialue4\Engine\Source\Runtime\CoreUObject\Private\Serialization\AsyncLoading.cpp:2305]
MortarMen_Win64_DebugGame!FAsyncLoadingThread::ProcessAsyncLoading() [B:\essentialue4\Engine\Source\Runtime\CoreUObject\Private\Serialization\AsyncLoading.cpp:4070]
MortarMen_Win64_DebugGame!FAsyncLoadingThread::TickAsyncThread() [B:\essentialue4\Engine\Source\Runtime\CoreUObject\Private\Serialization\AsyncLoading.cpp:4857]
MortarMen_Win64_DebugGame!FAsyncLoadingThread::TickAsyncLoading() [B:\essentialue4\Engine\Source\Runtime\CoreUObject\Private\Serialization\AsyncLoading.cpp:4556]
MortarMen_Win64_DebugGame!FAsyncLoadingThread::FlushLoading() [B:\essentialue4\Engine\Source\Runtime\CoreUObject\Private\Serialization\AsyncLoading.cpp:7023]
MortarMen_Win64_DebugGame!FlushAsyncLoading() [B:\essentialue4\Engine\Source\Runtime\CoreUObject\Private\Serialization\AsyncPackageLoader.cpp:645]
MortarMen_Win64_DebugGame!LoadPackageInternal() [B:\essentialue4\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp:1147]
MortarMen_Win64_DebugGame!LoadPackage() [B:\essentialue4\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp:1469]
MortarMen_Win64_DebugGame!UEngine::LoadMap() [B:\essentialue4\Engine\Source\Runtime\Engine\Private\UnrealEngine.cpp:13031]
MortarMen_Win64_DebugGame!UEngine::Browse() [B:\essentialue4\Engine\Source\Runtime\Engine\Private\UnrealEngine.cpp:12463]
MortarMen_Win64_DebugGame!UGameInstance::StartGameInstance() [B:\essentialue4\Engine\Source\Runtime\Engine\Private\GameInstance.cpp:584]
MortarMen_Win64_DebugGame!FEngineLoop::Init() [B:\essentialue4\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:4055]
MortarMen_Win64_DebugGame!GuardedMain() [B:\essentialue4\Engine\Source\Runtime\Launch\Private\Launch.cpp:160]
MortarMen_Win64_DebugGame!GuardedMainWrapper() [B:\essentialue4\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:137]
MortarMen_Win64_DebugGame!LaunchWindowsStartup() [B:\essentialue4\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:273]
MortarMen_Win64_DebugGame!WinMain() [B:\essentialue4\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:321]
MortarMen_Win64_DebugGame!__scrt_common_main_seh() [D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
kernel32
ntdll