'Update Instance Transform' / 'Remove Instance' == big performance hit even if used only on 1 instance
What happens? Maybe it updates every instance inside foliage mesh component, instead of just one?
When I have less foliage painted on landscape (but still dense & visible over all viewport), the lag is almost not noticeable. How to fix this? Or maybe is there some workaround?
Update: Same thing happens with 'Remove Instance' node!
The lag you are experiencing is something I would expect in this case. Foliage instances are all instances tied to one actor. When you move the transform of one instance, technically it has to destroy and recreate every foliage instance in the level, which would easily cause the lag you are seeing when dealing with 500,000+ instances. Once foliage is placed, it is not meant to be moved or edited at runtime, because when one instance is updated, the entire foliage actor, including every instance within the foliage actor, must then be updated. The functionality you are looking for is going to require a different system to implement outside of the foliage tool, as this is a limitation of the tool.
answered Aug 04 '16 at 05:50 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here