My gameobject with a singleton gets destroyed only when running in Xcode. Everything runs fine in unity. There is a message that I have that our prints to the console when it gets destroyed using the “OnDestroy()” method and this only gets called for this object when running in Xcode. I just want to see it some method executed prior to this happening or if there is maybe a better way to debug when in Xcode?

Thanks in advance for any help

0 Answers