MCarapazza
New member
I am currently running Behavior Designer Pro with the Movement, Tactical, and Sensor pack and UCC . I was working on a project in Unity v2023.2 and I got a weird warning log from the UnityEngine UI namespaces about memory allocation build-ups. Soon after got the error below and now I cannot run BD Pro in scene without my fps tanking to 1, error only occurred the first time. Before that everything was awesome and my performance was good for hours. The stack trace is below. If someone has ran into something similar like this please shout out the fix, I already did a fresh reimport on all BD Pro assets including the UCC package and upgraded to unity 6.3.
Thanks!
The stack trace is below from when error first occured...
TypeLoadException: Could not resolve type with token 010000d4 from typeref (expected class 'UnityEngine.EventModifiers' in assembly 'UnityEngine.IMGUIModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null')
Opsive.GraphDesigner.Editor.Views.GraphView.OnGeometryChanged (UnityEngine.UIElements.GeometryChangedEvent c) (at <d596ac307a944b70adadad0351f1da96>:0)
UnityEngine.UIElements.EventCallbackFunctor`1[TEventType].Invoke (UnityEngine.UIElements.EventBase evt) (at <23b71e0af0184d728ef17a220ffce01f>:0)
UnityEngine.UIElements.EventCallbackRegistry+DynamicCallbackList.Invoke (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel, UnityEngine.UIElements.VisualElement target) (at <23b71e0af0184d728ef17a220ffce01f>:0)
UnityEngine.UIElements.EventDispatchUtilities.HandleEventAtTargetAndDefaultPhase (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel, UnityEngine.UIElements.VisualElement target) (at <23b71e0af0184d728ef17a220ffce01f>:0)
UnityEngine.UIElements.VisualTreeLayoutUpdater.DispatchChangeEvents (System.Collections.Generic.List`1[T] changeEvents, System.Int32 currentLayoutPass) (at <23b71e0af0184d728ef17a220ffce01f>:0)
UnityEngine.UIElements.VisualTreeLayoutUpdater.Update () (at <23b71e0af0184d728ef17a220ffce01f>:0)
UnityEngine.UIElements.VisualTreeUpdater.UpdateVisualTreePhase (UnityEngine.UIElements.VisualTreeUpdatePhase phase) (at <23b71e0af0184d728ef17a220ffce01f>:0)
UnityEngine.UIElements.Panel.UpdateForRepaint () (at <23b71e0af0184d728ef17a220ffce01f>:0)
UnityEditor.UIElements.EditorPanel.UpdateForRepaint () (at <45c42eb657b4442b8390909ed69255ca>:0)
UnityEngine.UIElements.Panel.Repaint (UnityEngine.Event e) (at <23b71e0af0184d728ef17a220ffce01f>:0)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <23b71e0af0184d728ef17a220ffce01f>:0)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at <23b71e0af0184d728ef17a220ffce01f>:0)
UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <23b71e0af0184d728ef17a220ffce01f>:0)
UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at <23b71e0af0184d728ef17a220ffce01f>:0)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (at <c678aa64449d49deb90117eed3e66c16>:0)
Thanks!
The stack trace is below from when error first occured...
TypeLoadException: Could not resolve type with token 010000d4 from typeref (expected class 'UnityEngine.EventModifiers' in assembly 'UnityEngine.IMGUIModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null')
Opsive.GraphDesigner.Editor.Views.GraphView.OnGeometryChanged (UnityEngine.UIElements.GeometryChangedEvent c) (at <d596ac307a944b70adadad0351f1da96>:0)
UnityEngine.UIElements.EventCallbackFunctor`1[TEventType].Invoke (UnityEngine.UIElements.EventBase evt) (at <23b71e0af0184d728ef17a220ffce01f>:0)
UnityEngine.UIElements.EventCallbackRegistry+DynamicCallbackList.Invoke (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel, UnityEngine.UIElements.VisualElement target) (at <23b71e0af0184d728ef17a220ffce01f>:0)
UnityEngine.UIElements.EventDispatchUtilities.HandleEventAtTargetAndDefaultPhase (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.BaseVisualElementPanel panel, UnityEngine.UIElements.VisualElement target) (at <23b71e0af0184d728ef17a220ffce01f>:0)
UnityEngine.UIElements.VisualTreeLayoutUpdater.DispatchChangeEvents (System.Collections.Generic.List`1[T] changeEvents, System.Int32 currentLayoutPass) (at <23b71e0af0184d728ef17a220ffce01f>:0)
UnityEngine.UIElements.VisualTreeLayoutUpdater.Update () (at <23b71e0af0184d728ef17a220ffce01f>:0)
UnityEngine.UIElements.VisualTreeUpdater.UpdateVisualTreePhase (UnityEngine.UIElements.VisualTreeUpdatePhase phase) (at <23b71e0af0184d728ef17a220ffce01f>:0)
UnityEngine.UIElements.Panel.UpdateForRepaint () (at <23b71e0af0184d728ef17a220ffce01f>:0)
UnityEditor.UIElements.EditorPanel.UpdateForRepaint () (at <45c42eb657b4442b8390909ed69255ca>:0)
UnityEngine.UIElements.Panel.Repaint (UnityEngine.Event e) (at <23b71e0af0184d728ef17a220ffce01f>:0)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <23b71e0af0184d728ef17a220ffce01f>:0)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at <23b71e0af0184d728ef17a220ffce01f>:0)
UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <23b71e0af0184d728ef17a220ffce01f>:0)
UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at <23b71e0af0184d728ef17a220ffce01f>:0)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (at <c678aa64449d49deb90117eed3e66c16>:0)
