I’m trying to make a one-size-all solution for split binaries that will work whether I split the binary or not.
Currently I have a class that exists in a special scene that does:
- Get location of OBB file
- Check OBB file exists
- If OBB File doesn’t exist, download it from Google Play
- Load the next scene
But while testing (or for TestFlight builds) it is set to not split the binary. In order for this to work, we have to remember to turn off the first scene before building, then remember to turn it on again before submission to Google. This has caused problems a few times when people forget.
If there was a simple way I could check in the code whether the build was split binary or not, I could avoid attempting to download the OBB file that doesn’t exist on Play.
I’ve been searching and maybe I just missed a previous topic amongst all the ones explaining how to do it.
Thanks in advance.