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
- [HDRP] Water displacement fades when camera move far in worldspace.
- [Android] Crash due to running out of memory when compiling shaders for an Android build
- Crash on WindowsVideoMedia::GetVideoFrameAtIndex when importing a specific MP4 file
- Search results number in Saved Searches Panel is not properly visible when Search query is selected in light Editor mode
- OS Window is switched and errors logged when trying to access Overrides of the same Prefab in the Overrides Panel
Add comment