Search Issue Tracker
Fixed in 2022.3.19f1
Fixed in 2022.3.X, 2023.2.X, 2023.3.X, 7000.0.0a1, future release
Votes
0
Found in
2022.3.11f1
2023.1.16f1
2023.2.0b12
2023.3.0a8
Issue ID
UUM-52979
Regression
No
Adding a dynamic_branch directive reduces CPU performance
STR:
1. Open the attached project
2. Open SampleScene
3. Enter play mode, enable stats window, check frame time
4. Add `#pragma dynamic_branch FOO BAR` to the `Test` shader.
5. Enter play mode, check frame time
Expected: frame time difference is minimal (<= 0.1ms)
Actual: frame time differs by more than 0.1ms (0.5ms+ on MBP M1 Max)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Trying to access the DPI setting of a visual element that is not on a panel." warning thrown when entering/exiting Play Mode with new Hierarchy not displayed
- Transparent geometry does not render in Built-in Renderer Deferred mode when a custom post-processing effect is enabled on Mac with Metal API
- BuildVectorImage(SceneInfo, Rect) is internal, and should be public
- SVGImporter preset added to the Preset Manager changes to a ScriptedImporter when restarting the project
- Built-in Standard shader variants remain stripped from the build when retained via Shader Variant Collection or Shader Build Settings
Add comment