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
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
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?