I am getting some fairly random crashes in my game in an iOS Shipping Build. None of these crashes seem to happen in any other build. I suspect that some of my objects are getting garbage collected when they should not be.
In order to test this theory, I would like to disable garbage collection.
How can I disable garbage collection for my iOS Shipping Build?
Note: putting addToRoot on all the objects in my game is not an option.