Search Issue Tracker
Active
Under Consideration for 6000.6.X
Votes
0
Found in
6000.0.69f1
6000.3.9f1
6000.4.2f1
6000.5.0b3
6000.6.0a4
Issue ID
UUM-139592
Regression
No
Some shader variants are not collected when tracing with GraphicsStateCollection
Reproduction steps:
- Open the attached "IN-138996" project
- Make sure the Profiler is open (Window > Analysis > Profiler)
- Open the “Assets/SharedAssets/Benchmark/BenchmarkScene.unity” scene
- Open the Build settings (File > Build Profiles)
- Under "Platform Settings", check "Development Build" and "Autoconnect Profiler"
- Build and run the project
- Observe the Player
- In the "TerminalScene" section, press the "Stop" button
- Switch to the Profiler, wait for the spike to appear in the CPU Usage section chart, then stop the Profiler recording
- Select the frame for the second spike in the chart
- In the frame view, set it to "Raw Hierarchy" or "Hierarchy" and search for "CreateGPU" in the search field
- Make sure that on the right of the search field it is set to "Related Data" (otherwise set it to that)
- Look for entries related to "Graphs/VegetationSSS_Graph" in the "Related Data" section (you may need to move to nearby frames before/after the spike using left/right arrows when CPU Usage is in frame view)
- Notice it has the keyword "_ENABLE_SSS" present
- Switch focus back to the Player and close it
- Switch to the Editor and select the "Benchmark" GameObject in the Hierarchy
- In the Inspector, find the "Graphics State Collection Manager" component and set its "Mode" to "Warm up"
- Open the "Collections" dropdown, add a new entry, and select the GraphicsStateCollection generated in "Assets/SharedAssets/GraphicsStateCollections"
- Switch to the Profiler, press "Clear" at the top, and enable recording
- Repeat steps 6 through 13
- Observe the "Keywords" present in the "Related Data"
Actual result: The "_ENABLE_SSS" keyword is present
Expected result: The "_ENABLE_SSS" keyword is missing
Reproducible with: 6000.0.73f1, 6000.3.13f1
Could not test with: 6000.0.0b15 (script errors) 6000.0.0b16 (profiler doesn't connect), 6000.4.3f1 (CS0115 errors), (6000.5.0b4, 6000.6.0a2) (script errors)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- UI counter displays incorrect collectible count when using "Remaining_Collectibles_UI" Prefab in "Get Started With Unity" template
- Camera Output Texture does not revert back to previously set Render Texture when camera selection in UI Builder canvas background is changed
- Some post-processing volume overrides only update after a refresh when using HDRP
- Video Player glitches when Skip On Drop is enabled
- GameObject movement in Scene view becomes stuttery and intermittently freezes when using non-standard pointers across editor tabs or window boundaries
Add comment