h2o
May 17, 2019, 4:42pm
1
Hello. We have get a crash in packaged game. Package config is Development. FMOD plugin is integrated and turned on, all setup is made using documentation. When we starts dedicated server it starts fine. But client crashes. The thing is that we did not included map where FMOD assets is used, so in this package FMOD is just included and turned on. In Editor everything works fine.
UE 4.21. FMOD 2.0 for UE 4.21
What is the reason or how could we fix that?
h2o:
[2019.05.17-14.07.35:723][ 0]LogWindows: Error: === Critical error: ===
[2019.05.17-14.07.35:723][ 0]LogWindows: Error:
[2019.05.17-14.07.35:724][ 0]LogWindows: Error: Assertion failed: ConfigClass->PropertyLink != nullptr || (ConfigClass->GetSuperStruct() && ConfigClass->PropertiesSize == ConfigClass->GetSuperStruct()->PropertiesSize) || ConfigClass->PropertiesSize == 0 || GIsRequestingExit [File:C:\Builds\Engine\UnrealEngine-release-4.21\Engine\Source\Runtime\CoreUObject\Private\UObject\Obj.cpp] [Line: 1952]
[2019.05.17-14.07.35:724][ 0]LogWindows: Error: class FMODSettings has uninitialized properties. Accessed too early?
[2019.05.17-14.07.35:724][ 0]LogWindows: Error:
[2019.05.17-14.07.35:725][ 0]LogWindows: Error:
[2019.05.17-14.07.35:725][ 0]LogWindows: Error: [Callstack] 0x00007ffe1c8da388 KERNELBASE.dll!UnknownFunction
[2019.05.17-14.07.35:726][ 0]LogWindows: Error: [Callstack] 0x00007ff6f581e536 CityZ.exe!FWindowsErrorOutputDevice::Serialize() [c:\builds\engine\unrealengine-release-4.21\engine\source\runtime\core\private\windows\windowserroroutputdevice.cpp:63]
[2019.05.17-14.07.35:726][ 0]LogWindows: Error: [Callstack] 0x00007ff6f55ea517 CityZ.exe!FOutputDevice::LogfImpl() [c:\builds\engine\unrealengine-release-4.21\engine\source\runtime\core\private\misc\outputdevice.cpp:71]
[2019.05.17-14.07.35:726][ 0]LogWindows: Error: [Callstack] 0x00007ff6f5572f89 CityZ.exe!FDebug::AssertFailed() [c:\builds\engine\unrealengine-release-4.21\engine\source\runtime\core\private\misc\assertionmacros.cpp:417]
[2019.05.17-14.07.35:727][ 0]LogWindows: Error: [Callstack] 0x00007ff6f5acd26e CityZ.exe!UObject::LoadConfig() [c:\builds\engine\unrealengine-release-4.21\engine\source\runtime\coreuobject\private\uobject\obj.cpp:1948]
[2019.05.17-14.07.35:729][ 0]LogWindows: Error: [Callstack] 0x00007ff6f5b7c61f CityZ.exe!FObjectInitializer::PostConstructInit() [c:\builds\engine\unrealengine-release-4.21\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:2822]
[2019.05.17-14.07.35:730][ 0]LogWindows: Error: [Callstack] 0x00007ff6f5b46b12 CityZ.exe!FObjectInitializer::~FObjectInitializer() [c:\builds\engine\unrealengine-release-4.21\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:2701]
[2019.05.17-14.07.35:730][ 0]LogWindows: Error: [Callstack] 0x00007ff6f592412c CityZ.exe!UClass::CreateDefaultObject() [c:\builds\engine\unrealengine-release-4.21\engine\source\runtime\coreuobject\private\uobject\class.cpp:3020]
[2019.05.17-14.07.35:730][ 0]LogWindows: Error: [Callstack] 0x00007ff6f4d706a2 CityZ.exe!FFMODStudioModule::StartupModule() [c:\builds\perforce\survivors\plugins\fmodstudio\source\fmodstudio\private\fmodstudiomodule.cpp:471]
[2019.05.17-14.07.35:731][ 0]LogWindows: Error: [Callstack] 0x00007ff6f5645f0e CityZ.exe!FModuleManager::LoadModuleWithFailureReason() [c:\builds\engine\unrealengine-release-4.21\engine\source\runtime\core\private\modules\modulemanager.cpp:429]
[2019.05.17-14.07.35:731][ 0]LogWindows: Error: [Callstack] 0x00007ff6f585127f CityZ.exe!FModuleDescriptor::LoadModulesForPhase() [c:\builds\engine\unrealengine-release-4.21\engine\source\runtime\projects\private\moduledescriptor.cpp:593]
[2019.05.17-14.07.35:731][ 0]LogWindows: Error: [Callstack] 0x00007ff6f5860e21 CityZ.exe!TryLoadModulesForPlugin() [c:\builds\engine\unrealengine-release-4.21\engine\source\runtime\projects\private\pluginmanager.cpp:922]
[2019.05.17-14.07.35:732][ 0]LogWindows: Error: [Callstack] 0x00007ff6f5850f28 CityZ.exe!FPluginManager::LoadModulesForEnabledPlugins() [c:\builds\engine\unrealengine-release-4.21\engine\source\runtime\projects\private\pluginmanager.cpp:987]
[2019.05.17-14.07.35:732][ 0]LogWindows: Error: [Callstack] 0x00007ff6f4ad327c CityZ.exe!FEngineLoop::PreInit() [c:\builds\engine\unrealengine-release-4.21\engine\source\runtime\launch\private\launchengineloop.cpp:2015]
[2019.05.17-14.07.35:733][ 0]LogWindows: Error: [Callstack] 0x00007ff6f4acbd43 CityZ.exe!GuardedMain() [c:\builds\engine\unrealengine-release-4.21\engine\source\runtime\launch\private\launch.cpp:135]
[2019.05.17-14.07.35:733][ 0]LogWindows: Error: [Callstack] 0x00007ff6f4acbfca CityZ.exe!GuardedMainWrapper() [c:\builds\engine\unrealengine-release-4.21\engine\source\runtime\launch\private\windows\launchwindows.cpp:145]
[2019.05.17-14.07.35:733][ 0]LogWindows: Error: [Callstack] 0x00007ff6f4adafc1 CityZ.exe!WinMain() [c:\builds\engine\unrealengine-release-4.21\engine\source\runtime\launch\private\windows\launchwindows.cpp:276]
[2019.05.17-14.07.35:734][ 0]LogWindows: Error: [Callstack] 0x00007ff6f92af1a2 CityZ.exe!__scrt_common_main_seh() [d:\agent_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
[2019.05.17-14.07.35:735][ 0]LogWindows: Error: [Callstack] 0x00007ffe1df33034 KERNEL32.DLL!UnknownFunction
[2019.05.17-14.07.35:735][ 0]LogWindows: Error: [Callstack] 0x00007ffe1fd71431 ntdll.dll!UnknownFunction
[2019.05.17-14.07.35:736][ 0]LogWindows: Error:
[2019.05.17-14.07.35:753][ 0]LogExit: Executing StaticShutdownAfterError
[2019.05.17-14.07.35:754][ 0]LogWindows: FPlatformMisc::RequestExit(1)
[2019.05.17-14.07.35:764][ 0]Log file closed, 05/17/19 17:07:35
I’m looking into this at the moment and should have a solution in the next couple of days.
h2o
May 23, 2019, 5:17am
3
hi. changing the loading phase solved this crash and music in packaged build seems to works now
> "Name": "FMODStudio",
"Type": "CookedOnly",
"LoadingPhase": "PreDefault"
It looks like that is the cause of the issue, it was changed recently in an attempt to fix another issue.
I am currently investigating a solution that will fix this and the previous issue.
i have same issue i dont know where to find the loading phase im not a programmer can u talk me step by step through this error , my visual studio wont generate if its on there
It should just be a matter of opening the {ProjectDirectory}\Plugins\FMODStudio\FMODStudio.uplugin
and changing:
"Name" : "FMODStudio",
"Type" : "Runtime",
"LoadingPhase" : "PreEarlyLoadingScreen"
to:
"Name" : "FMODStudio",
"Type" : "Runtime",
"LoadingPhase" : "PreLoadingScreen"