vchernobai
2018年6月6日 03:27:25
Hi,
I use point instancing and I have instance attributes on points. In Unity I manualy load all prefabs to asset inputs, it take a lot time to do it every time.
Do we have any solution to automatically load prefabs in asset? I tried unity_instance attribute, where I point relative path to my prefab, but it not working. Maybe this attribute is not intended for this.
Thanks!
seelan
2018年6月6日 09:03:21
The unity_instance attribute would be the way to do it. Make sure the path is starting with Assets/ (e.g. Assets/Prefabs/Car.prefab)
If that doesn't work, post your asset on here and I can take a look. Also make sure the plugin is update to date.
vchernobai
2018年6月7日 14:26:47
I put attribute unity_instance to points with path, starting from Assets/, but not working. I tested in build 496. I attach test hda and unitypackage.
seelan
2018年6月8日 09:28:09
Get rid of the “instance” attribute but keep the “unity_instance” attribute, then it should work. What is happening is that the point has both the instance and unity_instance attributes, so the instance attribute is the only one being applied (as it gets priority).
vchernobai
2018年6月8日 11:32:30
Thanks, it works.