Search Issue Tracker
By Design
Votes
0
Found in
2017.2.0b8
Issue ID
945540
Regression
No
Changing "Non Power of 2" setting breaks Sprite references
Reproduction steps:
1. Open attached user project;
2. Open "Scene.unity";
3. Select "Canvas/Image" in Hierarchy and notice the "Source Image" references a Sprite called "cat"
4. Select "Assets/cat" in Project window;
5. Change "Non Power of 2" setting from "None" to "ToNearest" in Inspector;
6. Press "Apply" button in Inspector;
7. Select "Canvas/Image" in Hierarchy.
Expected: Changing the "Non Power of 2" setting for a Sprite should not cause references to break.
Actual: the "Source Image" references displays "Missing (Sprite)".
Reproduced on: 5.6.3p2, 2017.1.0p5, 2017.2.0b9, 2017.3.0a6.
By design: Sprite was not generated after changing the texture setting, so the reference is lost.
Comments (2)
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
- 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
PotatoesChipsStudio
Jan 22, 2018 17:27
Same issue here in 2017.3.0f3. To Larger and To Smaller also Break Sprite in my case
anamaux
Dec 16, 2017 06:58
Having the same issue, is there a fix to this?