Skip to content
This repository was archived by the owner on Jan 18, 2022. It is now read-only.

Deployment Launcher Editor window throws a NullReferenceException #956

@jamiebrynes7

Description

@jamiebrynes7

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A: deployment-launcherArea: Deployment launcher feature moduleS: known-issueStatus: This is a known issueT: bugType: This is a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions