Skip to content

NullReferenceException when using "Destroy all helper meshes in scene" option #389

@loosegrid

Description

@loosegrid

At line 625.

Cause:
Collecting all root gameobjects with MeshFilters, but not checking if they actually have a mesh assigned. So allMeshesInScene contains null values

Fix
Check for null.

Related:

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