Search Issue Tracker
Fixed in 2018.1.X
Votes
0
Found in
2018.1.0b5
Issue ID
1001184
Regression
No
[2D] [Animation] Using Undo after rotating bone on rigged sprite prefab breaks rigging
[2D] [Animation] Using Undo after rotating bone on rigged sprite prefab breaks rigging
Package Versions:
"com.unity.2d.common":"1.0.5-experimental",
"com.unity.2d.animation":"1.0.8-experimental",
Steps to Repro:
- Import sprite and rig it properly (create bones/geometry/weight)
- Add Sprite Skin component and generate Bone GOs
- Make a prefab of this skinned/boned sprite
- Select a bone and rotate it
- Use ctrl-Z to Undo
The rigging for the sprite breaks and this error occurs:
InvalidOperationException: The NativeArray has been deallocated, it is not allowed to access it
Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle.CheckReadAndThrowNoEarlyOut (AtomicSafetyHandle handle)
Unity.Collections.NativeArray`1[UnityEngine.Vector3].CheckElementReadAccess (Int32 index) (at C:/buildslave/unity/build/Runtime/Export/NativeArray/NativeArray.cs:108)
Unity.Collections.NativeArray`1[UnityEngine.Vector3].get_Item (Int32 index) (at C:/buildslave/unity/build/Runtime/Export/NativeArray/NativeArray.cs:132)
UnityEngine.Experimental.U2D.Animation.SpriteSkin.UpdateBoundsIfNeeded () (at C:/ProgramData/Unity/cache/packages/staging-packages.unity.com/com.unity.2d.animation@1.0.8-experimental/Runtime/SpriteSkin.cs:78)
UnityEngine.Experimental.U2D.Animation.SpriteSkin.Update () (at C:/ProgramData/Unity/cache/packages/staging-packages.unity.com/com.unity.2d.animation@1.0.8-experimental/Runtime/SpriteSkin.cs:97)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- D3D11 swapchain error pop-up appears and the Editor shuts down when Generating Lighting with Probe Volumes present
- Articulation Bodies spawn at the same point on a Spline when entering the Play mode
- [HDRP] Mip Map Debugging View turns White if there are Directional Lights in the Scene
- RenderDoc Capture Frame can't be completed after Particle System is simulated
- Editor crashes when attempting to connect the client machine to the host machine
Add comment