Skip to content

In iOS, Application.Unload does not unload assemblies.  #92

Open

Description

@tsuixl

hi.

I need the static variables in the assembly to be unloaded after Application.Unload.

Examples:

private static int s_StaticValue = 0;

public void ChangeValue ()
{
    s_StaticValue = 1;
}

After executing the ChangeValue() function, the value of s_StaticValue becomes 1. However, after Application.Unload, it cannot restore s_StaticValue to its default value of 0.

What operation can restore the Unity assembly to its initial state?

thx!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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