Skip to content

NullReferenceException if scene view is not open at start #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
unitycoder opened this issue Aug 6, 2024 · 0 comments
Closed

NullReferenceException if scene view is not open at start #6

unitycoder opened this issue Aug 6, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@unitycoder
Copy link
Owner

unitycoder commented Aug 6, 2024

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.

@unitycoder unitycoder added the bug Something isn't working label Aug 6, 2024
@unitycoder unitycoder changed the title NullReferenceException (unity 2019.4.36f1) NullReferenceException if scene view is not open at start Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant