Search Issue Tracker
Fixed in 2018.1.X
Won't Fix in 2018.2.X
Votes
0
Found in
2018.1.0b5
Issue ID
1001194
Regression
No
[2D] [Animation] Sprite disappears from scene after attempting to generate Bone GOs (cannot be undone)
[2D] [Animation] Sprite disappears from scene after attempting to generate Bone GOs (cannot be undone)
Package Versions:
"com.unity.2d.common":"1.0.5-experimental",
"com.unity.2d.animation":"1.0.8-experimental"
Steps to Repro:
- Import sprite
- Add Bones but do not properly rig it
- Add the sprite to a scene and attach a Sprite Skin
- Click on Generate Bone GOs
Result:
The sprite disappears (cannot be undone). Going to the Sprite Editor and properly rigging the sprite and then generating new Bone GOs does not fix this either.
This error also appears:
IndexOutOfRangeException: Index 0 is out of range of '0' Length.
Unity.Collections.NativeArray`1[UnityEngine.BoneWeight].FailOutOfRangeError (Int32 index) (at C:/buildslave/unity/build/Runtime/Export/NativeArray/NativeArray.cs:225)
Unity.Collections.NativeArray`1[UnityEngine.BoneWeight].CheckElementReadAccess (Int32 index) (at C:/buildslave/unity/build/Runtime/Export/NativeArray/NativeArray.cs:111)
Unity.Collections.NativeArray`1[UnityEngine.BoneWeight].get_Item (Int32 index) (at C:/buildslave/unity/build/Runtime/Export/NativeArray/NativeArray.cs:132)
UnityEngine.Experimental.U2D.Animation.SkinJob.Deform4 (Int32 i) (at C:/ProgramData/Unity/cache/packages/staging-packages.unity.com/com.unity.2d.animation@1.0.8-experimental/Runtime/SpriteSkinJobs.cs:76)
(wrapper unbox) UnityEngine.Experimental.U2D.Animation.SkinJob:Deform4 (int)
UnityEngine.Experimental.U2D.Animation.SkinJob.Execute () (at C:/ProgramData/Unity/cache/packages/staging-packages.unity.com/com.unity.2d.animation@1.0.8-experimental/Runtime/SpriteSkinJobs.cs:55)
Unity.Jobs.IJobExtensions+JobStruct`1[UnityEngine.Experimental.U2D.Animation.SkinJob].Execute (UnityEngine.Experimental.U2D.Animation.SkinJob& data, IntPtr additionalPtr, IntPtr bufferRangePatchData, Unity.Jobs.LowLevel.Unsafe.JobRanges& ranges, Int32 jobIndex) (at C:/buildslave/unity/build/Runtime/Jobs/Managed/IJob.cs:30)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Add comment