Hello everyone. Could someone offer some advice on how to track down a bug that occurs infrequently but consistently? It only appears in the Game build, not in the Editor. When I attempt to catch it with the debugger enabled, I can’t pinpoint any specific class that might be causing the issue. It often occurs when exiting the game or switching maps, and it might even appear when only the main game screen is loaded. At that stage, I haven’t spawned any actors yet, only subsystems and a very simple widget.
I’m running out of ideas. Thank you.
Assertion failed: NumOpRefs.GetValue() == 0 [File:D:\build\++UE5\Sync\Engine\Source\Runtime\RHI\Public\RHIValidationCommon.h] [Line: 299] RHI validation resource '' is being deleted, but it is still queued in the replay command stream!
Tactical!FRHITextureReference::`vector deleting destructor'()
Tactical!operator==()
Tactical!FRHICommand<FRHICommandWriteGPUFence,FRHICommandWriteGPUFenceString1950>::ExecuteAndDestruct()
Tactical!FRHICommandListBase::Execute()
Tactical!operator==()
Tactical!TGraphTask<TFunctionGraphTaskImpl<void __cdecl(void),0> >::ExecuteTask()
Tactical!FNamedTaskThread::ProcessTasksNamedThread()
Tactical!FNamedTaskThread::ProcessTasksUntilQuit()
Tactical!FRHIThread::Run()
Tactical!FRunnableThreadWin::Run()