- Home /
Weird Error message with empty projects
Hello everyone I'm getting this error message. I have tried everything. It happens with a empty project as well.
I tried a fresh install, deleting all files in the project. Reverting the layout. etc But it just sit there. This was first noticed with Surforge, but it is constant now. The error grows when I add surforge to the project which makes me think this more of a unity problem.
I appreciate any help. Iam getting this message:
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.EditorStyles.get_toggleMixed () (at C:/buildslave/unity/build/Editor/Mono/GUI/EditorStyles.cs:131)
UnityEditor.EditorGUIInternal..cctor () (at C:/buildslave/unity/build/Editor/Mono/GUI/EditorGUIInternal.cs:20)
Rethrow as TypeInitializationException: An exception was thrown by the type initializer for UnityEditor.EditorGUIInternal
UnityEditor.EditorWindow.BeginWindows () (at C:/buildslave/unity/build/Editor/Mono/EditorWindow.cs:82)
SurforgeInterface.ca8b7d5481922ae00639433ef4dfb015d ()
SurforgeInterface.Update ()
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:232)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:262)
UnityEditor.HostView.Invoke (System.String methodName) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:255)
UnityEditor.HostView.SendUpdate () (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:330)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at C:/buildslave/unity/build/artifacts/generated/common/editor/EditorApplicationBindings.gen.cs:249)
[/QUOTE]
Does anyone know what could be causing this and how to fix it?
Your "Surforge" plugin has errors on it. Try updating the plugin in a new project(without importing it). Report a bug to plugin dev. I have no idea what null reference it is, but from your error log, "SurforgeInterface.Update ()" is the trouble so it shouldnt be a unity bug.
Your answer
Follow this Question
Related Questions
Unity 2017 is not working. 2 Answers
Code works in editor, however not in build... C# 0 Answers
NullReferenceException, still the code is working? 2 Answers
WEBGL building error with developer 0 Answers
,why cant i build my project 0 Answers