gdk-for-unity icon indicating copy to clipboard operation
gdk-for-unity copied to clipboard

Deployment Launcher Editor window throws a NullReferenceException

Open jamiebrynes7 opened this issue 5 years ago • 0 comments

Affects: Release v0.2.2 and up Internal Ticket: UTY-2046


Description

The Deployment Launcher Window throws a NRE with a stack trace similar to the following:

NullReferenceException: Object reference not set to an instance of an object
UnityEditor.GameObjectInspector.ClearPreviewCache () (at C:/buildslave/unity/build/Editor/Mono/Inspector/GameObjectInspector.cs:203)
UnityEditor.GameObjectInspector.OnDisable () (at C:/buildslave/unity/build/Editor/Mono/Inspector/GameObjectInspector.cs:191)
UnityEditor.AssetDatabase:SaveAssets()
Improbable.Gdk.DeploymentLauncher.DeploymentLauncherWindow:OnEnable() (at Packages/com.improbable.gdk.deploymentlauncher/DeploymentLauncherWindow.cs:61)

This seemingly can happen randomly, even when not in use, provided that the Editor window is open.

Workaround

This error appears to be harmless and can be ignored.

jamiebrynes7 avatar May 24 '19 14:05 jamiebrynes7