Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.4
2018.4.25f1
2019.4
2020.1
2020.2
Issue ID
1268423
Regression
No
[Anima2D] Prefab saving never ends after saving a prefab with SpriteMeshInstance component
How to reproduce:
1. Open user attached project "Aria.zip"
2. Open 'Apparitor' prefab (in '03.Prefabs' > 'Heroes' folder)
3. Select Sprite_Head in Hierarchy (Expand 'Apparitor' then 'Sprite')
4. In 'Sprite Mesh Instance' component change 'Order in layer' value to 2
5. Press Enter on the keyboard
Expected result: Prefab is saved after a short time
Actual result: Prefab saving never ends
Reproducible with - 2018.4.25f1, 2019.4.9f1, 2020.1.4f1, 2020.2.0b3
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
- Component Glyphs value is truncated and Ligature Table glyph fields become inaccessible when increasing the Component Glyphs count
- There is no “Overwrite Preset?” popup when saving a Customizable Toolbar preset with a name that already exists
- Customizable Toolbar preset does not switch to the Unity Default Preset when Reverting All Saved Presets or deleting the active Preset
- [Usability] Selected node gets unselected when undoing changes in the Graph Inspector Node Settings tab
- Search Default option for Column Format does not reset the column's format
Resolution Note (2018.4.X):
User needs to add:
if(needsReimport)
{
#if UNITY_2018_3_OR_NEWER
PrefabUtility.SavePrefabAsset(prefab); // <--- ADDED, needed in order to save the change from from the artefact file to the .prefab source file before reimporting
#endif
EditorApplication.delayCall += () => { AssetDatabase.ImportAsset(importedAssetPath); };
}
}
}
}
}