5-0EA Package Error: Ensure condition failed: oldValue == newValue - ThreadingBase.cpp line:163

I have setup UE5 early access ,connected it to UGS, and use Visual studio 2019.
When I build the editor I have this error pop up:

LogOutputDevice: Error: === Handled ensure: ===
LogOutputDevice: Error: Ensure condition failed: oldValue == newValue [File:D:/Haloween/Engine/Source/Runtime/Core/Private/HAL/ThreadingBase.cpp] [Line: 163]
LogOutputDevice: Error: oldValue(1) newValue(0) If this check fails make sure that there is a FTaskTagScope(ETaskTag::EGameThread) as deep as possible on the current callstack, you can see the current value in ActiveNamedThreads(110)

It doesn’t stop the editor from building and running just fine but it is preventing me from packaging the project. I checked to see if ActiveNamedThreads had the tag EGameThread and it did so Im at a loss about how to fix this error.

The callstack:

1 Like

Did you ever figure this out? I am having the same issue.