Search Issue Tracker
By Design
Votes
0
Found in
6000.2.6f1
6000.3.0b6
Issue ID
UUM-122452
Regression
No
Frame Debugger produces flickers and loses focus when the Player uses RenderShadowMaps
How to reproduce:
1. Extract and open the attached “PROJECT_NAME.7z“ project
2. Go to COMPANY → AssetBundles → Build And Copy
3. After the build finishes (there may be errors), go to COMPANY → LocalBuild
4. In the dialog box, make sure the “Selected Config” is “QA”, the “Output Path” is set to the project root folder and the TC_BUILD_NUMBER is 1
5. Press the “Do Build” button
6. Once the build is done, go to the path from step 4
7. Rename “LocalBuild“ to “LocalBuild.exe“
8. Run “LocalBuild.exe“
9. Spam “e“ to skip the cut scenes
10. Press “New Game“
11. Wait for the game to load
12. Go back to the Unity Editor
13. Select Window → Analysis → Frame Debugger
14. Press “Enable“
15. Click on the “Editor“ dropdown menu
16. Select the running game process
17. In the search field, enter “RenderShadowMaps“
18. Observe the Frame Debugger
Expected result: You can select the entries freely, and the focus remains on the selected entry
Actual result: The entries keep increasing and decreasing, causing a flickering and loss of focus in the frame debugger
Reproducible with: 6000.2.6f1, 6000.3.0b6
Could not reproduce with: 2023.1.0a1, 6000.0.60f1, 6000.4.0a2 (problems with attaching built project to Frame Debugger)
Reproducible on: Windows 11
Not reproducible on: No other environment tested
Notes:
- Make sure IL2CPP is installed when trying to reproduce
- The output path should be something like this: “C:\Users\<user>\Downloads\<PROJECT_NAME>\LocalBuild“, LocalBuild is not a folder, it is the output file, it will be created in <project name>
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note:
This is unfortunately a known limitation of the tool. Frame Debugger updates constantly when frames are rendered, there is no way to pause the updates. Therefore if the rendering itself is "unstable" and renders different things between consecutive frames, the result will be a unstable UI. To fix this behavior will require larger changes to the internal workings of the tool.
In this specific case, a workaround is to disable Shadow Maps from Rendering Debugger / Frame Settings.