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
- Editor crashes on StoredGraphicsBuffer::GetGfxBufferID when VFX Graph property is modified during Play Mode and Application.targetFrameRate is used to limit FPS
- Crash on NVAPI_Thunk when changing Player resolution while HDR display is used and Direct3D12 is set as the graphics API
- Only one out of multiple cameras is shown in the Play Mode while HDR display is used and Direct3D12 is set as the graphics API
- The "Paste Component as New" option is incorrectly displayed as active despite the action being prohibited
- "TLS Allocator ALLOC_TEMP_TLS" errors are thrown when unsuccessfully importing an FBX file
Add comment