Skip to content

NullReferenceException if scene view is not open at start #6

@unitycoder

Description

@unitycoder

NullReferenceException: Object reference not set to an instance of an object
UnityLauncherProTools.InitializeProject.SetupProject () (at Assets/Editor/InitializeProject.cs:204)
UnityLauncherProTools.InitializeProject.OnGUI () (at Assets/Editor/InitializeProject.cs:64)

line
SceneView.lastActiveSceneView.cameraSettings.easingEnabled = false;

Happens if you dont have scene view visible/open by default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions