For the past few days I've been trying to make a Unity HDA that instances an object (set by an operator path) to points scattered over another object. I will be using this asset to scatter trees in my scene, so preserving LODs in this process is very important to me.
Currently this is my node setup:
So far, everything works as expected except the LODs are not carried over from the imported .fbx. LODs are present if the .fbx is placed manually, but something in the HDA pipeline is removing them before instancing. “Use LODs” is checked in the HDA in Unity, and I have the copy SOP set to pack and instance.
Also, the HDA works very quickly when placing low poly objects (8 polygons @ 100,000 instances only takes a few seconds) but 10 instances of a larger .fbx (15k polys) makes unity hang for 15 minutes! (but works eventually). For reference, the same objects can be placed in Unity by hand with no hangs or freezing at all.
Thanks for any advice you have, I can't seem to find anyone with this problem elsewhere!
I've attached the project and the HDA if that is useful.
Image Not Found
Image Not Found