Hello,
I’ve got a different behavior in the editor and in the packaged game when using multithreading.
It works in the packaged game and crashes in the editor.
When crashing, the output is giving this message which seems to be related to the console:
Ensure condition failed: GetShadowIndex() == 0 [File:D:\BuildFarm\buildmachine_++UE4+Release-4.11\Engine\Source\Runtime\Core\Public\HAL\IConsoleManager.h] [Line: 760]
My game is packaged with shipping configuration and hence without the console, which might explain why it doesn’t crash.
So there seems to be some interaction between the console and multithreading.
I made a short video, always clearer than words:
I'm posting this in the bug report section because i get a different behavior in PIE and in a packaged game.I can’t give you any repro step as this is a very complicated problem, but i don’t really need a correction, any workaround allowing me to test my game without a crash will make me very happy (for example is there a way to not use the console in PIE ?).
Thanks