Instantiate() under 1.5

Here’s what happened:

I’m working on a project with several scenes. Before upgrading to 1.5, scene changes were quick, maybe one second at the most. Now it’s roughly thirty seconds to several minutes - even longer when compiling to the device.

The problem is clearly in Instantiate() - if I remove those calls, everything goes smoothly, albeit with a lot less to see. For the life of me, I can’t think of anything else that changed other than the version of unity iphone. The one thing that confused the issue was I was getting messages about static batching and tried a few things thinking that was the problem, including getting the advanced license - but it seems those were just spurious messages that didn’t relate since no objects were marked static.

With one scene, there’s already a copy of the object I want to Instantiate() in the scene. It doesn’t seem like a problem with the object size since it loads instantly so long as I don’t Instantiate().

I’ve looked for new settings, tried re-importing everything, cleared out anything that might have held old state from the previous version of unity, searched these forums, and haven’t really gotten anywhere. That makes me doubt whether it was the upgrade as someone should have had the same issue, right? But I don’t have much else to go on at the moment.

I’m relatively new to Unity so could be missing something basic. Any help is much appreciated.

How big are you scenes? Are they huge?

The scene I’m testing this with now seems pretty small. Without instantiating anything, I get 16.7k tris and 7.8k verts.

If I disable every object and just instantiate one of the objects I want to add dynamically (and then wait for the beach ball to go away), I get 2.9k tris and 1.4k verts.

I’m instantiating objects about that size and it’s instantaneous. The speed, for me, was that same in 1.5 and the previous version.

I have door objects in my scene that destroy all the currently loaded objects and instantiates objects for a new scene. I can go back and forth between scenes quickly and without any odd memory leaks and the heap stays the same size.

Can you make a simple project as a test case?

Idea about small repro project is really superb. Please bugreport it.
Thanks