Skip to content

HdMergingSceneIndex issue with RemoveInputScene. #3387

@Lumengine

Description

@Lumengine

Description of Issue

Crash when deleting the _MergingSceneIndexEntry from UsdImagingNiPrototypePropagatingSceneIndex.

With this commit 2ee856c, when refactoring the RemoveInputScene, the line

std::vector<SdfPath> removalTestQueue = { it->sceneRoot };

is created after erasing the iterator which causes the crash.

Steps to Reproduce

System Information (OS, Hardware)

Windows 11

Package Versions

v24.11

Build Flags

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions