Remove Instance from InstanceFoliageActor only works on "Play in Editor"
You hit or overlap the InstanceFoliageActor on the level, cast to its FoliageInstanceStaticMeshComponents, and then RemoveInstance (OtherBodyIndex). It works while Playing in Editor, but doens't either on "Standalone" nor after compiling the game. Now "Remove Instance" always fails in those cases.
I know for a fact It worked at least from 4.16 up to 18.2. But no longer works on 18.3, haven't tried on the 4.19 previews.
I've added a sample project where I reproduce this bug on an empty 18.3 project: link text
The "Player" blueprint is handling the interaction. Just click on one of the cubes. It works as intended while playing in editor, but the "RemoveInstance" will always fail if you're playing in StandAlone or with a packaged game. It's super weird really...
Hope anyone can help, my entire game is built around being able to do this :S
Hey! I am having the exact same issue. But I am using 18.0. How comes you are sure about that it's working? I've read that we are supposed to turn "Use Dynamic Instance Buffer" in order to keep the foliage interactive in standalone/built, but I don't understand how to apply that to the default foliageActor... Any new insights would help here... Thanks!
answered Feb 09 '18 at 11:52 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here