Sketchfab Unity Exporter Error


(Thijunsame) #1

Hi,
This is my first time using Unity Exporter. When I tried to export my project this error message appeared and I have no idea what I am suppose to do to fix it. Please help.

NullReferenceException: Object reference not set to an instance of an object
Sketchfab.SketchfabLogger.onCanPrivate (System.String response) (at Assets/Sketchfab For Unity/Scripts/SketchfabLogger.cs:330)
Sketchfab.SketchfabRequest.digest () (at Assets/Sketchfab For Unity/Scripts/SketchfabApi.cs:253)
Sketchfab.SketchfabAPI.Update () (at Assets/Sketchfab For Unity/Scripts/SketchfabApi.cs:113)
Sketchfab.SketchfabPlugin.Update () (at Assets/Sketchfab For Unity/Scripts/SketchfabPlugin.cs:172)
Sketchfab.SketchfabExporter.Update () (at Assets/Sketchfab For Unity/Scripts/SketchfabExporter.cs:85)
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 /Users/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:262)
UnityEditor.HostView.Invoke (System.String methodName) (at /Users/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:255)
UnityEditor.HostView.SendUpdate () (at /Users/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:330)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at /Users/builduser/buildslave/unity/build/artifacts/generated/common/editor/EditorApplicationBindings.gen.cs:249)


(Waleguene) #2

Hi @thijunsame,

What’s the workflow to reproduce the issue ?
Did you click play while having it open ?
(there are some known issues that need to be fixed for this cases)

Thanks,