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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment