Search Issue Tracker
Active
Under Consideration for 2022.3.X, 6000.0.X, 6000.1.X
Votes
0
Found in
2022.3.51f1
6000.0.24f1
6000.1.0a2
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
- GPU utilization increases by 20% on Meta Quest headsets when Render Graph is enabled on 6000.0.16f1 and higher
- Value on Slider (Int) control in UI Builder displays as default when saving UI Document
- Color mismatch in UI Builders Library panel when the Editors theme is set to Light Mode
- [Android ] "AndroidJNI.ToBooleanArray" returns a random non-zero value instead of "IntPtr.Zero" when the method argument is null
- Non-HDR color picker opens when selecting material color with HDR enabled
Add comment