SplineMeshComponents don't consistently Hide.
I have an actor that I would like to HideInGame. It has a USplineComponent and n number of USplineMeshComponents.
When I hide the actor or the USplineMeshComponents, they don't consistently hide.
Here is how I create them:
The _splineSegementPool is private and isn't being accessed except for setting HiddenInGame, setting the USplineMeshComponents locaitons, tagents, and scaling or exposing the dynamic material instances on the segments to blueprint.
Here is how I attempt to disable them:
The details panel in the UE4 editor shows that sometimes the USplineMeshComponents don't get their SetHiddenInGame set. I have attempted using a Blutility to toggle them for their hidden in game to test, the results are inconsistent. I also have attempted hiding them every tick that I don't need them. This still ends up with sometimes they aren't hidden in game.
I'm at a loss. Is there something I'm missing or I didn't create the components correctly or is this just a bug.
Any help would be greatly appreciated. Thank you.
PS. Yes, I have attempted just hiding the actor.
asked May 19 '17 at 02:42 PM in C++ Programming
Follow this question
Once you sign in you will be able to subscribe for any updates here