Development Build error: Ensure condition failed: oldValue == newValue. ThreadingBase.cpp Line: 311

Deleting Binaries, Intermediate, DerivedDataCache, and saved isn’t enough. Deleting your config files isn’t enough. An entirely new project with migrated content, or compiling the project with a source build are neither good enough either.

This is the worst error I’ve encountered in my 10 years of using Unreal.

The hardest hitting, most annoying solutions don’t fix this. Must be related to a specific asset. Hard to try and find it.

EDIT: I once saw the log complain about shaders. So I disabled Shared Material Shader Code and Shared Material Native Libraries then I got this error the OP has.

I have now re-enabled them and magically I got a different log error about Steamp API 64 and noticed it was the Advanced Sessions plugin from VRExpansion causing the crash on startup. I ended up being able to use the original project and didn’t have to make a new one or anything. This is a weird and odd error, hope its the same for you all, but it seems it could be anything.

1 Like