// When you release and shutdown the SDK library, you cannot initialize it again. // Make sure this is done at a relevant time in your game's lifecycle. // If you are working in editor, it is advised you do not release and shutdown the SDK // as you would be required to restart Unity to initialize the SDK again. private void OnDestroy() { if (!Application.isEditor && EOS != null) { EOS.Release(); EOS = null; PlatformInterface.Shutdown(); } }