Search Issue Tracker
Fixed in 5.4.0
Votes
0
Found in
4.6.4p2
Issue ID
715712
Regression
No
[Materials] Material file content is non-deterministic in Editor - order of properties in a '.mat' file changes
Reproduction steps:
1) Load the UnstableBundles project
2) Immediately Exit Unity Editor (these two steps are important because it ensures that the Library folder is up to date)
3) Load the UnstableBundles project again
4) In the project tree, click on "MotionBlur1" (NB: this step is important)
5) In the project tree, click on "VignetteMaterial" and change 'ZVenus' value
6) From the File menu click Save Project
7) View Assets\Materials\VignetteMaterial.mat in a text editor and notice that '_CyanTex' appears before '_WhiteTex'
8) Close Unity Editor and reopen it with UnstableBundles again
9) In the project tree click on "VignetteMaterial 1" and change 'Carrot' value
10) In the project tree click on "VignetteMaterial" and change 'ZVenus' value
11) From the File menu click Save Project
12) View Assets\Materials\VignetteMaterial.mat in a text editor and notice that '_WhiteTex' appears before '_CyanTex'
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment