Problem with project compilation?

Hi,

I am new in UE programming. So, please forgiveme if that problem is fast to resolve. :wink:

I have a list of StaticMeshActors in Outliner with special naming convention. Based on the name, some of these actors should not be visible on scene based on user choice. I wrote the function to seach thru all StaticMeshActors for all objects with given substring in name.

My first approach was to use Set Visibility.

But after compilation (Package Project) all actors were visible independently on user interaction. In editor all was correct.

Next approach was to change Set Visibility to Set Actor Hidden in Game.

And also without success - hidden in editor, not hidden in EXE application.

What is interesting: in both cases EXE file has the same size.

Compilation for Windows.

Options from Platforms menu:

Binary configuration - Shipping

Architecture selection: x64 (this platform)

Could you give me some clue/advice, please?

Regards,

Krzysztof

Cant use names of actors. You have to use Actor/Component Tags or Gameplay Tags.