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
6000.2.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
- Shader Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
Add comment