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
- Shadows are not visible in Player when using DX12 with Forward+ or Deferred+ rendering in URP
- Rendering Debugger Playmode debug UI scrolling is jittery when using click and drag to scroll
- Frame Debugger Target Selection Search Results window becomes too tiny to even see the default “Editor” selection when there are no search results
- Async method in Play Mode being aborted when calling `new System.Windows.Forms.Form`
- Animator window Eye button on click visual does not cover the whole area of the button when clicked
Add comment