Set Actor Hidden in Game not working in packaged build?

Afternoon peeps

When I set an entire actor, single static mesh or actor with many static meshes in it, Set Actor Hidden in Game executed on that actor with a line or capsule trace to detect it does not work in packaged build.

In the PIE it works perfectly. When I build the game, it does nothing. Same is true for Visibility set to true or false in run time.

It seems to be working fine in components, just not entire actors. Any ideas why this is?

My use case is that I am shooting a trace from the camera to the main character and hiding all actors it hits so you can see the actor through objects.

1 Like