Skip to content

When meta file of referenced object is destroyed, then restored (through like git checkout --), the asset is rewired in the inspector, but RequireWire still reports it missing. #9

@edwardrowe

Description

@edwardrowe

Repro Steps: 1. Build an asset with a RequireWire field for a GameObject
2. Link a Prefab into the game object
3. Check both into source control (try without this step first, though.)
4. Run Require Wire. Should pass.
5. Delete the linked prefab.
6. Run Require Wire. Should fail.
7. Restore the linked prefab from the trash or through git checkout --
8. Run Require Wire. Fails but should pass.

Rebooting Unity seems to fix this. Or rewiring the component (after nulling it out)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions