iPhone 3Gs question

I’ve been developing my game on a 3G, I have a scene set up when you walk up to an existing hallway before the door opens it, I call gameObject.SetActiveRecursively(true);

to turn on the objects and lights of the next hallway. On the 3G there is almost no pause at all when the player goes from hallway to hallway. but on the 3GS there is a noticeable 1 sec pause as the hallway and lights are turned on. It works flawlessly on the iPod Touch 3rd Gen.

I’m at a loss why only the 3Gs is so slow to SetActiveRecursively(true)???

I have determined that it is the lights. Apparently the 3Gs processes lights differently then the 3G. I have contacted Unity Support to see if they have seen this issue and it there is a workaround.

A workaround might be to disable and enable the renderers on the game objects. That should run faster (versus enabling/disabling the entire game object), but I don’t know the reason behind that - it’s just a tip I’ve picked up from the forum. As for lights, you can try scripting the intensity back and forth from zero. I don’t know if you’ll get a similar performance bump from that, but it’s worth a try until you get official word.