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
- Tile Palette Edit mode turns off in Play Mode
- The Editor crashes when Generating Font Atlas in the Font Asset Creator with “9999999999” padding and 256x256 Atlas Resolution
- [iOS] An “ArgumentNullException” error is thrown when GetIntroductoryPriceDictionary() method is called
- Memory leak warnings are constantly thrown when Generating Font Atlas in Font Asset Creator with 4096x8192 Atlas Resolution
- “Glyph rendering has been aborted due to sampling point size” Log is printed and Font Atlas is not generated when Atlas Resolution is 8192x8192, and the Render Mode is SDF
Add comment