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.
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
- Rendering locks up when not looking at a transparent material on Meta Quest 2
- Volumetrics break when using a Custom Pass to create a Thickness Buffer for Alpha Clipping
- All tests are run instead of only the failed ones when the "Rerun Failed" button is pressed
- GameObject is not masked when the "Render PostProcessing Effects" pass executes with a resolved non-MSAA Color target and MSAA DepthStencil target
- [Android] Gfx.WaitForGfxCommandsFromMainThread high performance usage and inconsistency when built Player scene has Canvas GameObject on a specific Project
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?