Skip to content

'Can't destroy Transform component' error when exiting play mode #10

Open
@JohannesMP

Description

@JohannesMP

In 2018 and later (potentially 2017 as well, haven't tested) Unity has problems cleaning up the RuntimeDebugDraw object nested inside the hidden wrapper object when exiting play mode. For some reason it complains about something trying to delete its Transform component:

image

There is no call stack, so this is originating in Unity's own internal code.

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