I'm wondering if it is possible to obtain the filesize of a game's build at runtime.
Searching this topic only yields results for reducing the build size, which is not at all what I'm looking for.
I'm wondering if it is possible to obtain the filesize of a game's build at runtime.
Searching this topic only yields results for reducing the build size, which is not at all what I'm looking for.
If you are using a Mac:
After it's built by Xcode, in the "Unity Player/build" directory there will be the app. In Finder use Get Info to see the size.
Or in Xcode, find the Products group and within that .app item and do Reveal in Finder, then Get Info.
If you want to know the size for the App Store, ZIP compress the app first.
If you are using Windows:
Right click the Unity build you have just created and right click it. Then, click properties, then general, and check the size field.
I hope this is answers your question.