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
- Grabbing Dynamic Attach interactable in Interaction Simulator makes controller spin
- XRI Starter Assets Interactable shader generates Console warnings
- Hands Permission dialog only appears when right palm faces HMD
- Crash on AnnotationManager::CanHideLODLabels when opening the Gizmos dropdown menu
- "Default Play Mode" button does not appear in the Editor toolbar after installing Multiplayer Play Mode package
Add comment