Event Driven Loading broken / Async Loading Thread broken

210244-crashy2.jpg

I’ve tested the project with 4.17.1 now and I can get some more crash details from the shipping build, and a crash stack from a development build:

"
Error: Ensure condition failed: GetShadowIndex() == 0 [File:H:\UnrealEngine-release\Engine\Source\Runtime\Core\Public\HAL/IConsoleManager.h] [Line: 828]
"

"
Error: Assertion failed: IsInGameThread() [File:H:\UnrealEngine-release\Engine\Source\Runtime\CoreUObject\Private\Serialization\AsyncLoading.cpp] [Line: 4658]
"

"
Error: Crash in runnable thread FAsyncLoadingThread
"

Full crash log from the dev build here: https:///J2fPt5gX

I’ve gotten a bit further debugging this, and the crashes are caused by using nativized assets with Async Thread and Event Driven Loading. The crash is avoided when building without nativization,
which is not very desirable at the moment… Nativization is having other issues aswell in 4.17 that is a regression from 4.16 such as losing mesh/actor positions or/and other inherit actor and/or child actor data, but in this instance the nativized assets work without crashing the game when NOT using async loading and event driven loading.

The development build still has the ensure fail in the log tho:

"
Error: Ensure condition failed: GetShadowIndex() == 0 [File:H:\UnrealEngine-release\Engine\Source\Runtime\Core\Public\HAL/IConsoleManager.h] [Line: 828]
"
But it dosen’t crash the game.

Im still looking into this so I’ll post more when I have more.