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

Hey guys, I was running into the same error when trying to launch a packaged game built in 5.3.2. When I would launch the game my screen would go black then the game would close, no crash or any thing like that. In the log it had the same error you guys have been posting. Sometimes when I repackaged it would work and other times it wouldn’t.

Someone mentioned earlier in this post about the “Share Material Shader Code” setting in the project settings and I found if i enabled it and packaged again this problem has seamed to stop, I’ve repackaged a bunch of times and the issue hasn’t returned, just wanted to share this in case anyone else ran into this problem as this might help.

5 Likes