Unreal 5.2.0 Game packages without Error but fails when launched "Fatal Error!" (Log included)

Game builds/packages without error but when I try and run the standalone game from the exe it crashes immediately with a “Fatal Error” notification. Here’s a link to the entire crash log.

Here’s the main error in the log.

“Log file open, 06/14/23 17:09:13
LogWindows: Failed to load ‘aqProf.dll’ (GetLastError=126)
LogWindows: File ‘aqProf.dll’ does not exist
LogProfilingDebugging: Loading WinPixEventRuntime.dll for PIX profiling (from …/…/…/Engine/Binaries/ThirdParty/Windows/WinPixEventRuntime/x64).
LogWindows: Failed to load ‘VtuneApi.dll’ (GetLastError=126)
LogWindows: File ‘VtuneApi.dll’ does not exist
LogWindows: Failed to load ‘VtuneApi32e.dll’ (GetLastError=126)
LogWindows: File ‘VtuneApi32e.dll’ does not exist
LogWindows: Custom abort handler registered for crash reporting.”

The “CrashContext” file doesn’t seem to be providing me with much insight. Losing my mind over here. :laughing:

Fix
There are a number of reasons this type of error can occur. In this specific situation it was because I had enabled the state tree system plugins for 5.1 and up. Just having this plugin activated combined with some state tree tests caused a “Fatal Error” on my packaged build. Simply turning off the state tree plugins allowed for the game to package properly.