Changes to add stability to Unity-iOS