Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug / Crash  Random null error when editing cloth BP
#1
I can edit the cloth blueprint few times and after 5th or sometimes second it dissapears and gives null errors


Code:
NullReferenceException: Object reference not set to an instance of an object
Obi.ObiActorBlueprintEditor.OnSceneGUI (UnityEditor.SceneView sceneView) (at Assets/Obi/Editor/Common/Blueprints/ObiActorBlueprintEditor.cs:311)
UnityEditor.SceneView.CallOnSceneGUI () (at <8c48e4bc2ff34638b69095cbb65e2e27>:0)
UnityEditor.SceneView.HandleSelectionAndOnSceneGUI () (at <8c48e4bc2ff34638b69095cbb65e2e27>:0)
UnityEditor.SceneView.OnGUI () (at <8c48e4bc2ff34638b69095cbb65e2e27>:0)
UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) (at <8c48e4bc2ff34638b69095cbb65e2e27>:0)
UnityEditor.DockArea.DrawView (UnityEngine.Rect viewRect, UnityEngine.Rect dockAreaRect) (at <8c48e4bc2ff34638b69095cbb65e2e27>:0)
UnityEditor.DockArea.OldOnGUI () (at <8c48e4bc2ff34638b69095cbb65e2e27>:0)
UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <0050475d167947ea9f166ad030caa84f>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <0050475d167947ea9f166ad030caa84f>:0)
UnityEngine.UIElements.IMGUIContainer.DoIMGUIRepaint () (at <0050475d167947ea9f166ad030caa84f>:0)
UnityEngine.UIElements.UIR.RenderChainCommand.ExecuteNonDrawMesh (UnityEngine.UIElements.UIR.DrawParams drawParams, System.Single pixelsPerPoint, System.Exception& immediateException) (at <0050475d167947ea9f166ad030caa84f>:0)
Rethrow as ImmediateModeException
UnityEngine.UIElements.UIR.RenderChain.Render () (at <0050475d167947ea9f166ad030caa84f>:0)
UnityEngine.UIElements.UIRRepaintUpdater.Update () (at <0050475d167947ea9f166ad030caa84f>:0)
UnityEngine.UIElements.VisualTreeUpdater.UpdateVisualTreePhase (UnityEngine.UIElements.VisualTreeUpdatePhase phase) (at <0050475d167947ea9f166ad030caa84f>:0)
UnityEngine.UIElements.Panel.UpdateForRepaint () (at <0050475d167947ea9f166ad030caa84f>:0)
UnityEngine.UIElements.Panel.Repaint (UnityEngine.Event e) (at <0050475d167947ea9f166ad030caa84f>:0)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <0050475d167947ea9f166ad030caa84f>:0)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at <0050475d167947ea9f166ad030caa84f>:0)
UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <0050475d167947ea9f166ad030caa84f>:0)
UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at <0050475d167947ea9f166ad030caa84f>:0)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (at <f8197c5efb504ab8a77daf7d0e9abc5e>:0)


Attached Files Thumbnail(s)
   
Reply


Messages In This Thread
Random null error when editing cloth BP - by Mmero - 18-04-2021, 08:52 PM