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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Add comment