Search Issue Tracker
Fixed in 4.1.3
Votes
0
Found in [Package]
4.1.1
Issue ID
1246133
Regression
No
[2d] [Sprite Shape] Error occurs when unselecting Cache Geometry for Sprite Shape prefab
[2d] [Sprite Shape] Error occurs when unselecting Cache Geometry for Sprite Shape prefab
Steps to Repro:
1. create sprite shape shape that uses Cache Geometry
2. make the sprite shape into a prefab
3. select sprite shape prefab and Edit Spline in Inspector
4. uncheck Cache Geometry
The following error appears:
Destroying assets is not permitted to avoid data loss.
If you really want to remove an asset use DestroyImmediate (theObject, true);
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
Note: The error does not occur when editing prefab in the Prefab Editor
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Inspector lock lost when opening prefabs in separate folders through double-clicking
- NullReferenceException is thrown when setting the sprite of a UI Image and the associated texture has been destroyed
- Profiling builds created on older versions cause samples to be colored green when using a Profiler from newer versions
- Sprite Editor unsaved changes get reverted when Script Recompilation finishes
- The position/width/alignment of other GUILayout elements is changed when calling EditorGUILayout.Foldout within a GUILayout.BeginArea
Add comment