Help to understand NullReference Exception in Console

A NullReference exception logged in Console shows this

My computer does not have a User bokken, so then where is the green highlighted /Users/bokken/ coming from ?

I think it’s coming from the buildslave where that Unity code was compiled. Anyway, it’s not important. The message here is that a button was pressed, and that invoked an event, which landed you at SceneLoader.cs line 11, where you’re dereferencing a null object.

2 Likes

Thanks

I get this package manager errors in the console right now:

The editor layout could not be fully loaded, this can happen when the layout contains EditorWindows not available in this project
UnityEditor.WindowLayout:LoadDefaultWindowPreferences() (at /Users/bokken/buildslave/unity/build/Editor/Mono/GUI/WindowLayout.cs:40)

and

[PackageManager] Error Aborted Request
UnityEditor.EditorApplication:Internal_CallUpdateFunctions() (at /Users/bokken/buildslave/unity/build/Editor/Mono/EditorApplication.cs:310)

I can’t tell which asset it is that is not able to import that is pulling from bokken, but I’d like to make it stop.