unity3d-jp/BlendShapeBuilder

Errors in Unity 2018

pmyy opened this issue · 2 comments

pmyy commented

Unity2018系でツールが正しく動作しないエラーがあるようです。
2017系では正しく動作しているようです。

【事例1】

「頂点表示の際にメッシュが透明になり追従しない」問題がありました。
bsb_kensyou_13

以下の条件下で発生:

  • Unity 2018.2.9f1
  • SkinnedMeshのモデルで、"Vertex Tweaker"ツールを使用した場合
    なお、表示がおかしく操作しづらいだけで、ブレンドシェイプには影響ありません。

【事例2】

「"Vertex Tweaker"ツールが動作しない」問題がありました。

以下の条件下で発生:

  • Unity2018.3.0f2
  • "Vertex Tweaker"ツールのEdit Verticesボタンが反応せず、エラーを吐く
  • Mesh / SkinnedMesh どちらでも発生

以下コンソールのログとなります。

TypeLoadException: Failure has occurred while loading a type.
UTJ.VertexTweaker.PinnedList`1[T]..ctor (UnityEngine.Vector3[] data, System.Boolean clone) (at Assets/UTJ/VertexTweaker/Scripts/PinnedArray.cs:227)
UTJ.VertexTweaker.VertexTweaker.BeginEdit () (at Assets/UTJ/VertexTweaker/Scripts/VertexTweaker.cs:229)
UTJ.VertexTweaker.VertexTweaker.set_editing (System.Boolean value) (at Assets/UTJ/VertexTweaker/Scripts/VertexTweaker.cs:90)
UTJ.VertexTweaker.VertexTweakerWindow.OnGUI () (at Assets/UTJ/VertexTweaker/Editor/VertexTweakerWindow.cs:97)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:342)
UnityEditor.HostView.Invoke (System.String methodName) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:336)
UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:310)
UnityEditor.DockArea.DrawView (UnityEngine.Rect viewRect, UnityEngine.Rect dockAreaRect, System.Boolean customBorder, System.Boolean floatingWindow, System.Boolean isBottomTab) (at C:/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:363)
UnityEditor.DockArea.OldOnGUI () (at C:/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:322)
UnityEngine.Experimental.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout) (at C:/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:266)
UnityEngine.Experimental.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect) (at C:/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:438)
UnityEngine.Experimental.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e) (at C:/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:421)
UnityEngine.Experimental.UIElements.IMGUIContainer.HandleEvent (UnityEngine.Experimental.UIElements.EventBase evt) (at C:/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:401)
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)

情報ありがとうございます。調べます。
丁度 2018.x 向けアップデート作業中でして、近い先に対応できると思われます。

遅くなりましたが、新しいパッケージをリリースしました。
2018 でも 2019 でも動作するようになっているはずです。