Search Issue Tracker
Fixed in 2022.3.40f1
Fixed in 2022.3.X, 6000.0.X, 7000.0.0a13, future release
Votes
0
Found in
2022.3.9f1
2023.1.13f1
2023.2.0b9
2023.3.0a5
6000.0.0b11
6000.1.0a7
Issue ID
UUM-48599
Regression
No
Dynamic Branching generates Shader Variants when building the Project
Reproduction steps:
1. Open the attached “Test Project” project
2. Make a Clean Build of the Project (File > Build Settings > Build > Clean Build)
3. Open the Project Auditor window (Window > Analysis > Project Auditor)
4. Press the “Analyze” button
5. In the Project Auditor window view Compute Variants (View > Assets > Shaders > Compute Variants)
Expected result: There are no variants with the dynamic_branch keyword
Actual result: There are over one million variants with the dynamic_branch keyword
Reproducible with: 2022.1.0a15, 2022.1.24f1, 2022.3.9f1, 2023.1.13f1, 2023.2.0b9, 2023.3.0a5
Not reproducible with: 2021.3.30f1, 2022.1.0a14
Reproducible on: Windows 10
Not reproducible on: No other environment tested
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
- Too little validation messages in the "WebAssembly Language Features" Memory settings
- Project Settings Search Highlights are misaligned when using the Bitmap Text Rendering Mode
- "GetControlID at event ValidateCommand returns a controlID different from the one in Layout event" Warning is thrown when undoing the deletion of Sprite Shape Profile
- Memory related fields in the "WebAssembly Language Features" can be set to the negative numbers
- "WebAssembly Language Features" Header in the Player Settings has a smaller indentation
Resolution Note (fix version 6000.0):
Filter out dynamic branch keywords when computing shader variants.