Skip to content

SerializedObjectNotCreatableException: Object at index 0 is null on every scene initialization in CollectSources2dEditor and NavMeshSurfaceEditor #219

Description

@DataGreed

I get the following errors every time I start the project with CollectSources2d and NavMeshSurface added to gameobject in the root of the Scene:

SerializedObjectNotCreatableException: Object at index 0 is null
UnityEditor.Editor.CreateSerializedObject () (at /Users/bokken/build/output/unity/unity/Editor/Mono/Inspector/Editor.cs:698)
UnityEditor.Editor.GetSerializedObjectInternal () (at /Users/bokken/build/output/unity/unity/Editor/Mono/Inspector/Editor.cs:670)
UnityEditor.Editor.get_serializedObject () (at /Users/bokken/build/output/unity/unity/Editor/Mono/Inspector/Editor.cs:564)
NavMeshPlus.Extensions.Editors.CollectSources2dEditor.OnEnable () (at ./Library/PackageCache/com.h8man.2d.navmeshplus@3291e121ab/NavMeshComponents/Editor/CollectSources2dEditor.cs:16)
SerializedObjectNotCreatableException: Object at index 0 is null
UnityEditor.Editor.CreateSerializedObject () (at /Users/bokken/build/output/unity/unity/Editor/Mono/Inspector/Editor.cs:698)
UnityEditor.Editor.GetSerializedObjectInternal () (at /Users/bokken/build/output/unity/unity/Editor/Mono/Inspector/Editor.cs:670)
UnityEditor.Editor.get_serializedObject () (at /Users/bokken/build/output/unity/unity/Editor/Mono/Inspector/Editor.cs:564)
NavMeshPlus.Components.Editors.NavMeshSurfaceEditor.OnEnable () (at ./Library/PackageCache/com.h8man.2d.navmeshplus@3291e121ab/NavMeshComponents/Editor/NavMeshSurfaceEditor.cs:65)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions