Where to put a collection proxy?

I apologise as I’m sure this is a frequent misunderstanding but I have been browsing similar problem threads and the collection proxy documentation for a couple of hours and can’t find a solution.

I do not know where to put a collection proxy. I can add it to a game object, but then that game object is already part of a collection, so it creates a loop and won’t build?

1 Like

1 Like

It seems to me like you’re trying to load the bootstrap collection using the proxy - that is both impossible and unnecessary, as the bootstrap collection (set in game.project) will always load on startup and will remain loaded throughout the whole runtime.

You only need collection proxies to load other collections you might have. In that case you’d put them into the bootstrap collection (main.collection by default).

2 Likes

Oh right, sorry I should have mentioned I am trying to reload the collection (restart level).

1 Like

Then you should put the level into a different collection, not the bootstrapper one.

main.collection should only have the loader and collection proxies, which point towards other collections and load and unload them as needed.

3 Likes

Okay, thank-you

1 Like