Search Issue Tracker
Not Reproducible
Votes
0
Found in [Package]
staging/skinning-module
Issue ID
1081756
Regression
No
[2D] [Animation] Selection Exception when pasting mesh+bone on to a second sprite
[2D] [Animation] Selection Exception when pasting mesh+bone on to a second sprite
Steps to Repro:
1. prepare a sprite sheet with multiple sprites for rigging
2. in the Skinning Editor, add bones and mesh/weight to one sprite
3. copy the bone/mesh data for the sprite and paste it on to another sprite on the sprite sheet (do not click Apply)
4. select a different sprtie on the sprite sheet and paste the bone/mesh data
The bones are pasted on to the first sprite and the following Exception is given:
Exception: Selection Exception: bone's skeleton does not match selected skeleton
UnityEditor.Experimental.U2D.Animation.SkeletonSelection.ValidateBone (UnityEditor.Experimental.U2D.Animation.BoneCache bone) (at Assets/AnimV2/2d-animation-staging-skinning-module/Editor/SkinningModule/BoneSelection.cs:170)
UnityEditor.Experimental.U2D.Animation.SkeletonSelection.set_elements (UnityEditor.Experimental.U2D.Animation.BoneCache[] value) (at Assets/AnimV2/2d-animation-staging-skinning-module/Editor/SkinningModule/BoneSelection.cs:107)
UnityEditor.Experimental.U2D.Animation.CopyTool.OnPasteActivated (System.Boolean bone, System.Boolean mesh, System.Boolean flipX, System.Boolean flipY) (at Assets/AnimV2/2d-animation-staging-skinning-module/Editor/SkinningModule/CopyTool.cs:219)
UnityEditor.Experimental.U2D.Animation.CopyToolView.OnPasteActivated (System.Boolean bone, System.Boolean mesh, System.Boolean flipX, System.Boolean flipY) (at Assets/AnimV2/2d-animation-staging-skinning-module/Editor/SkinningModule/CopyTool.cs:451)
UnityEditor.Experimental.U2D.Animation.PastePanel.OnPasteActivated () (at Assets/AnimV2/2d-animation-staging-skinning-module/Editor/SkinningModule/UI/PastePanel.cs:67)
UnityEngine.Experimental.UIElements.Clickable.OnMouseUp (UnityEngine.Experimental.UIElements.MouseUpEvent evt) (at C:/buildslave/unity/build/Modules/UIElements/Clickable.cs:152)
UnityEngine.Experimental.UIElements.EventCallbackFunctor`1[TEventType].Invoke (UnityEngine.Experimental.UIElements.EventBase evt) (at C:/buildslave/unity/build/Modules/UIElements/Events/EventCallback.cs:62)
UnityEngine.Experimental.UIElements.EventCallbackRegistry.InvokeCallbacks (UnityEngine.Experimental.UIElements.EventBase evt) (at C:/buildslave/unity/build/Modules/UIElements/Events/EventCallbackRegistry.cs:376)
UnityEngine.Experimental.UIElements.CallbackEventHandler.HandleEvent (UnityEngine.Experimental.UIElements.EventBase evt) (at C:/buildslave/unity/build/Modules/UIElements/Events/EventHandler.cs:112)
UnityEngine.Experimental.UIElements.EventDispatcher.ProcessEvent (UnityEngine.Experimental.UIElements.EventBase evt, UnityEngine.Experimental.UIElements.IPanel panel) (at C:/buildslave/unity/build/Modules/UIElements/EventDispatcher.cs:511)
UnityEngine.Experimental.UIElements.EventDispatcher.Dispatch (UnityEngine.Experimental.UIElements.EventBase evt, UnityEngine.Experimental.UIElements.IPanel panel, UnityEngine.Experimental.UIElements.DispatchMode dispatchMode) (at C:/buildslave/unity/build/Modules/UIElements/EventDispatcher.cs:307)
UnityEngine.Experimental.UIElements.BaseVisualElementPanel.SendEvent (UnityEngine.Experimental.UIElements.EventBase e, UnityEngine.Experimental.UIElements.DispatchMode dispatchMode) (at C:/buildslave/unity/build/Modules/UIElements/Panel.cs:176)
UnityEngine.Experimental.UIElements.UIElementsUtility.DoDispatch (UnityEngine.Experimental.UIElements.BaseVisualElementPanel panel) (at C:/buildslave/unity/build/Modules/UIElements/UIElementsUtility.cs:245)
UnityEngine.Experimental.UIElements.UIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at C:/buildslave/unity/build/Modules/UIElements/UIElementsUtility.cs:68)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at C:/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:179)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on ShaderLab::ShaderState::ApplyShaderState when entering Play Mode and calling ShaderWarmup.WarmupShaderFromCollection with a shader that has dynamic_branch
- Crash on operator delete[] when a serializable structure in the System namespace is serialized by a MonoBehaviour
- [macOS] forward and backward mouse buttons are recognized as middle mouse button
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
- "System.Net.CookieContainer" throws an "ArgumentException" error when using a non-UTF-8 machine locale and hostname
Add comment