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
- ScrollView clips content when under an ancestor that has a filter set
- "Retrieving array element that was out of bounds" error thrown when attempting to remove a column from a Multi-Column List View
- Multi-Column List View horizontal scroll resets to left most position when scrolling vertically
- Floating License is lost for concurrent jobs
- Warning "Failed to insert item" is logged when Assigning Project to Organization's Project in the Project Settings
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); };
}
}
}
}
}