Disable Garbage collection

glory13
Thu, 03 Jan 2019 19:13:01 +0000
Mobile

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.

1 post - 1 participant