Search Issue Tracker
Fixed
Fixed in 2022.3.4f1, 2023.1.4f1, 2023.2.0a22
Votes
0
Found in
2022.3.2f1
2023.1.0b18
2023.2.0a19
Issue ID
UUM-37432
Regression
No
Compiling both variants when dynamic keywords are used
As I was working on a [PR to change fog keywords in URP to dynamic branches|https://github.cds.internal.unity3d.com/unity/unity/pull/28687], we noticed that we seem to be compiling both variants.
Based on a [DM chat|https://unity.slack.com/archives/C02R5L5B7A4/p1685530015346479] with Aleksandr I'm creating this bug and attaching the editor log.
{code:java}
Serialized binary data for shader Universal Render Pipeline/Simple Lit in 0.00s
d3d11 (total internal programs: 959, unique: 682)
Serialized binary data for shader Universal Render Pipeline/Lit in 0.00s
d3d11 (total internal programs: 2078, unique: 1475)
{code}
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
- Search window icons at the bottom are cut off when Search window is resized vertically
- "Try something else?" text label is cut off when searching for a long text in the Search window
- Rendering Debugger window sections do not have a minimum width set when resizing with the slider in the middle of the window
- Last segment of a Sprite Shape Spline is affected by other segments' Sprite Variant change when no edge Sprite is selected
- [iOS] Application frequently crashes on Social.LoadAchievements call when many achievements are registered
Resolution Note (fix version 2023.2.0a22):
Fixed regression causing dynamic branching compiling separate variants
Resolution Note (fix version 2023.1.4f1):
Fixed regression causing dynamic branching compiling separate variants
Resolution Note (fix version 2022.3.4f1):
The regression hadn't actually gotten this far in the versioning, but we added test coverage just in case