Search Issue Tracker
Active
Under Consideration for 6000.5.X
Votes
0
Found in
2022.3.51f1
6000.0.24f1
6000.1.0a2
6000.2.0a1
6000.3.0a1
6000.4.0a1
6000.5.0a1
Issue ID
UUM-85842
Regression
No
An Empty List Is Incorrectly Returned for Material Variant When Using Material.GetTexturePropertyNameIDs
Reproduction steps:
1. Create the project with any template
2. Import the “BugRepro” package
3. Open the “Assets/Test/Test.unity” Scene
4. Select the GameObject in the Hierarchy window
5. Righ-click on the Test component in the Inspector window and click LogTexturePropertyNameIDs
6. Observe the Console window and see that
Variant: 0
Instantiated Variant: 0
Flattened Instantiated Variant: 9
7. Click to open the “Assets/Test/New Material Variant.mat” material in the Inspector window
8. Repeat the 4-5 steps
9. Observe the Console window
Expected result:
{{Variant: 9}}
{{Instantiated Variant: 9}}
{{Flattened Instantiated Variant: 9}}
Actual result:
{{Variant: 9}}
{{Instantiated Variant: 0}}
{{Flattened Instantiated Variant: 9}}
Reproducible with: 2022.3.51f1, 6000.0.24f1, 6000.1.0a2
Couldn't test with: 2021.3.44f1 (Could not resolve compilation errors)
Reproducible on: Windows 11
Not reproducible on: No other environment tested
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Long Property names are not truncated in the Add Property dropdown in the Animation window when the Long Property name does not fit
- [iOS] High CPU load when device keyboard is open
- Selected Animation clip in the Animation window changes when the Domain Reload is triggered
- Animation window scrollbar keeps resetting when the scrollbar width is changed after adding an event
- LocalizationSettings.InitializationOperation hangs when re-entering Play Mode with Domain Reload disabled
Add comment