I know this topic has been covered, in some form already, but I can’t find an answers to my questions. So I will ask.
First Question;
I am using Unity iPhone Pro and 35kb 512x512 jpg textures. But when they are plugged into Unity they are read as 1mb in size… And when I use 350 kb PNGs they are read as 800kb in size. Why is Unity inflating the texture sizes, even with compression?
Second Question;
What are the maximum load times apple will except for iPhone/iPod games? And what is the recommended game file size? Currently my game is at 34mb, and that’s with aggressive optimizations and texture compression. Its also taking 4.5 seconds to load the game on an iPod 32gb and 9 seconds to load on an iPod 8GB. And I am testing a “release” build.
Third Question;
Which devises and OS is Apple currently using to test games during the submissions process? I have tested my game on a verity of devises such as, iPod 8BG, iPod 32GB, iPhone Edge, iPhone 3G and iPhone 3GS. As well as on the 2.1.1, 3.0, 3.1.1 and 3.1.2 OS. I have noticed that the 3.x OS is faster then the 2.x, but that during first boot-up any game will take two to three times longer to load up for the first time its run…
The format of the source textures is irrelevant, only the texture settings in Unity matter. Graphics cards have no .jpg or .png compression, so there’s no point using it.
Something like 20 seconds…if it takes too long, the OS shuts it down. Maximum app size is 2GB; there isn’t any recommended size, other than that you probably want to make it as small as you can without sacrificing quality.
Only Apple could tell you that. You’ve tested on a lot wider variety of devices than most people do, so that’s good.
The quicker load after the first may have something to do with how the OS is caching data. The data may still be in memory on the second load, so it doesn’t have to read it from disk.
I don’t think that Apple would ever accept a game that took 20 seconds to load. My game was rejected (I am pretty sure) because it took 9 seconds to load. After much optimization it now loads @ 4.5 seconds.
@monkeygod
So my question is, whats a more accurate load time, what does Apple look for? Load upon OS start-up, or after its been cached?
I doubt that…there’s nothing in the guidelines indicating that this is a reason for rejection. Not that not being in the guidelines necessarily means anything, but I have a few games which take longer than 9 seconds to load, and load times are different on different devices anyway. The original Aurora Feint, for example, had a load screen that said “please wait 30 seconds”, which was probably true on the original iPhone and 1st gen iPod touch, and was half that on a 2nd gen touch. The OS itself shuts your app down if it takes too long, so if this happens, it would naturally be rejected.
Well, this is some of the info I received from apple. Note, that the game loaded on my iPod 32gb in 9 seconds, and that was on a release build, with NO crashes. So I am not sure how Apple goes about testing…
Application Specific Information:
GAME failed to launch in time
elapsed total CPU time (seconds): 14.700 (user 6.860, system 7.840), 70% CPU
elapsed application CPU time (seconds): 9.130, 43% CPU
That wasn’t Apple arbitrarily rejecting your app for taking too long, that was the OS shutting it down.
Me neither. What is that 32GB iPod, the 2009 model? That’s significantly faster than older models, so 9 seconds on yours would be quite a bit longer on slower ones. And apps can take much longer to load the first time compared to subsequent launches.
In any case, when I said “20 seconds”, I should have said “20 seconds depending on the device”. The important part was “if it takes too long, the OS shuts it down”.
Yes, the iPod 32GB is a new model that replaced the 16GB. As I mentioned before, my 32GB iPod (OS 3.1.2)loads my (newly optimized) game in 4.5 seconds and the 8GB iPod (OS 2.1.1) loads it now in 9 seconds.