12-13-2020, 11:06 AM
(12-13-2020, 07:56 AM)_Aka_ Wrote: Hi,
Are you dragging the prefab directly from the Project window into the generator?
Have a nice day
- If this is the case, that's not a use case I ever considered, so no wonder if it doesn't work. I always assumed that people instantiate a prefab in their scene before using it. Is there any reason for you to not instantiate the prefab before using it?
- If this is not the case, then can you please send me a reproduction case?
HI _Aka_,
OK, so it worked if I create an instance of the prefab and then drag it into the graph, thanks for the tip.
In regards to the reason for doing this, I have a lot of assets that use the prefab directly and some that use instances only, I guess this is a force of habit. I do find it a bit cleaner to use the prefab directly, plus some assets perform initialisation on anything you drag in so it is safer to assume that a direct use is the preferred option. I think the thing that threw me was that it allowed me to directly drag the prefab in and it added it to the scene with no errors.
Either way, it is working now so thank you. BTW, I'm loving this asset it has a bit of a learning curve but once you get passed that it opens up so many possibilities.