In iOS, Application.Unload does not unload assemblies.

Abierto
#92 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
20/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
objective-c
Área
mobile

Línea de trabajo

The issue names no source files or tests. Start by reading the Unity as a Library iOS example and tracing how Application.Unload is invoked; then determine whether Unity can reset static state in an assembly. Done means providing a supported operation that restores the static field to its default value after unload.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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!

Lenguaje dominante
Objective-C++
Estrellas
815
Forks
252
Merge medio
21 h 42 min
PR fusionados (30 d)
1

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Unity-Technologies/uaal-example

Todos los issues de Unity-Technologies/uaal-example

Issues similares

Más issues de Mobile Dev

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.