x


iPhone loading strategies ?

Greetings Unity Community,

I have an iphone game which has a significantly sized scene graph (4000+ scene nodes) but very few textures, mostly due to the fact that our art is scalable with our level design. However, organizationally our levels are in the main game scene under a root node called Levels. At first the app loaded almost instantly, but as production went underway load times have become significantly longer. I don't believe this is from the texture sheets since I have had apps load quicker with more textures.

So I do believe that the load hit ( now reaching 20 seconds) is coming from the raw number of scene graph nodes and so my question is what strategies are there to minimize the load times and some of the fall out from doing so. I know that I can pull certain things from another scene, but I was under the impression this was loading assets and not necessarily scene graph info.

Should I move all my nodes in Levels, to another scene and when a player starts that level, load just that levels subtree ? Is this possible to do in Unity ?

Appreciate the advice, ~J

more ▼

asked Aug 29 '11 at 07:12 PM

Jeston gravatar image

Jeston
419 27 31 34

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first
more ▼

answered Aug 29 '11 at 09:10 PM

DaveA gravatar image

DaveA
26.5k 151 171 256

Aye, I was hoping to avoid scene juggling. Know if its possible to pull out a specific subtree from a second scene ?

As in I have 3 root objects, but only load 1 node from sceneB into sceneA ?

Aug 30 '11 at 09:07 PM Jeston
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x2001
x328
x298
x110

asked: Aug 29 '11 at 07:12 PM

Seen: 1184 times

Last Updated: Aug 30 '11 at 09:07 PM