Console + multithreading, OK in packaged game, crashes in PIE

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

Hi ,

I started looking into this issue today, and after creating a test project that uses multi-threading I was unable to reproduce the crash that you described. Do you see this crash occur every time you try to use your landscape brush in PIE? Would it be possible to get the full crash report?

Hi ,

We have not heard back from you for a while. Do you still need help with this issue? I will be marking this post as resolved for internal tracking purposes, but please feel free to add a comment and reopen the post if you need more help.