Setting the Prototype of CollectionFactory

I’m Sure i’m missing something very basic here!
But what i’m trying to do is create a collectionfactory, but i run into the problem that i can’t seem to set the “prototype” to a collection?

When i go to enter the collection, the suggestions i get are only gameObjects?

So i can’t seem to find the collection that i would like to spawn.

// Best Regards Fredrik

That is actually a bug and I’m very happy you found that one. The best workaround I’ve found is to close the tab (might be necessary to close all tabs, not sure), open it again and click the collectionfactory before clicking any regular factory, then going into the browse dialog and it should show collections.

The reason for this strange bug is that we cache the properties view for any items that “looks” similar, that is, having the same set of properties, defined by field names and types. In this case, the two views for factory and collectionfactory are incorrectly classified as the same one, giving you the incorrect filtering in the dialog, only if you have selected the factory first (which then populates the controls in the properties view, with the game-object filtering as you saw). Closing the tabs flushes the cache and selecting the collectionfactory first makes sure you get the correct filtering. Notice that this same bug will then “destroy” the properties view for any factory you would select next, incorrectly filtering only collections for them rather than game objects. The same workaround applies in this case.

This should obviously be fixed on our end!

4 Likes

Ahhh Yes that did the trick!

Happy i could be off any assistance!
Good luck with fixing this filter Bug

Thanks for the quick Answer!
//Fredrik

2 Likes