Log in or register to post comments

NullReferenceException WorkerToMainScheduler,UpdateFromMainThread

February 4, 2019 - 10:51am #1

Unity 2018.3.1f1

Vuforia 8.0.10

Error throws when starting playback in the editor and sometimes when viewing VuforiaConfiguration.asset in the inspector:

NullReferenceException: Object reference not set to an instance of an object

Vuforia.EditorClasses.WorkerToMainScheduler.UpdateFromMainThread () (at <863340cee03640148af16e5524363348>:0)

UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at C:/buildslave/unity/build/Editor/Mono/EditorApplication.cs:200)

No clue what the problem could be but looks like you guys aren't handling an exception very well.

Also getting a frequent info message about how to enable AR Core support. Not sure why it keeps showing, but we're not trying to use AR Core and don't really want to be reminded all the time. We have enough important log messages to look through!

Thanks!

NullReferenceException WorkerToMainScheduler,UpdateFromMainThread

May 27, 2019 - 7:58am #3

I'm having the same problem.

ullReferenceException: Object reference not set to an instance of an object

Vuforia.EditorClasses.WorkerToMainScheduler.UpdateFromMainThread () (at <863340cee03640148af16e5524363348>:0)

UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at C:/buildslave/unity/build/Editor/Mono/EditorApplication.cs:303)

Joe

NullReferenceException WorkerToMainScheduler,UpdateFromMainThread

February 13, 2019 - 2:05am #2

Unity 2018.3.5f1

Vuforia 8.0.10

Same problem, error message displayed in the Console :

NullReferenceException: Object reference not set to an instance of an object

Vuforia.EditorClasses.ImageTargetEditor.DrawPredefinedTargetInspectorUI (System.Boolean typeChanged) (at <863340cee03640148af16e5524363348>:0)

Vuforia.EditorClasses.ImageTargetEditor.OnInspectorGUI () (at <863340cee03640148af16e5524363348>:0)

UnityEditor.InspectorWindow.DoOnInspectorGUI (System.Boolean rebuildOptimizedGUIBlock, UnityEditor.Editor editor, System.Boolean wasVisible, UnityEngine.Rect& contentRect) (at C:/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:1625)

UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

It happens randomly, for example after modifying some code in Visual Studio and coming back to Unity. No explanation.

Log in or register to post comments