Skip to content

Python interpreter doesn't really shutdown unless the Unity Editor is restarted. #9

@INTODAN

Description

@INTODAN

As mentioned in the title, the python interpreter (for example the sys.modules) don't reset between play/exists of the game inside the editor, but only when the editor restarts.

I also opened a stackoverflow quetsion providing more details:
https://stackoverflow.com/questions/79477995/unity-pythonnet-interpreter-preserves-state-between-plays-and-only-resets-wh

Did this happen to you?

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