#frame debugger flashing
1 messages · Page 1 of 1 (latest)
Have the exact same problem, would like to know what to do about it too.
I found this issue on the tracker, looks like they're not going to fix it. https://issuetracker.unity3d.com/issues/frame-debugger-and-game-view-flicker-when-changing-events-in-the-frame-debugger-window
How to reproduce: 1. Open the project “IN_27049” 2. Enter the Play Mode 3. Press Window → Analysis → Frame Debugger 4. Enable Frame ...
I don't understand the workaround explanation either, I'm not using any custom compute shaders and it's still flickering.
Okay I figured it out, you can't use any HDRP features that rely on computer shaders either, not just your own custom ones. It was the HDRP water causing it in my case, probably a different feature in your case. Since the HDRP uses compute shaders for almost all features that make it worth using over the URP that pretty much means the frame debugger is simply not usable in the HDRP at all.
Hmm... Frame debugger shouldn't be doing that. Just to be safe, can you try using it in play mode with the game paused?
If I get it right, what they mean is that the user is dispatching a compute shader every other frame, so the list of events needs to be rebuilt every frame. Basically, a ui issue.
Their solution is to change the dispatches to execute every frame when the frame debugger is enabled(hence the "use the enabled property").
Try using it in paused play mode as I mentioned earlier. And make sure you don't have dispatches or draws that are called every other frames.
Good idea, but I already tried that too. Even though it's paused it's still wildly jumping around exactly the same as it is when not paused or in editor mode.
That's weird. I will try it a bit later.