Search Issue Tracker
By Design
Votes
0
Found in
2017.4.29f1
2019.3
Issue ID
1176822
Regression
No
The texture of the material is being saved even when it is changed to another one
To reproduce:
1. Open attached project
2. Create new material
3. Set the shader to Particles/Standard Surface
4. Set Metallic texture
5. Save the project and check the material in a text editor
6. Notice that texture ID is created
7. Go back to the editor and Set the shader to Particles/Anim Alpha Blended
8. Set Particle Texture with another texture
9. Save the project
9. Check the text editor again
Actual result: Material saves the previous texture
Expected result: Material should not save the previous texture as just keep the last one updated
Reproduced on: 2017.4.0f1; 2019.3.0a12
Note: Image attached
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- The Scene View becomes gray and "NullReferenceException" errors are thrown when attaching the Unity Editor process to RenderDoc
- Memory usage rapidly rises when changing colors in the color wheel
- Physically Based Sky's Horizon and Zenith Tint Color Selection Bars don't have immediate access to color pickers
- EmptyAdditionalLightShadowmapTexture leaks from memory when URP quality level is changed using QualitySettings.SetQualityLevel
- Referenced ScriptableObject field does not get updated and cannot be set to "None" when there are no Objects of that type
Resolution Note:
The editor remembers properties by design so you can switch back and forth without losing work. The unused properties are stripped out in the build process so they do not impact the final build results.