Hi all,
I have a map in which I have placed BluePrint actors ‘BP_Locations’ with an enum variable. This enum can have value ‘left’ or ‘right’. I have checked Expose on Spawn and Instance Editable. These actors are scattered around in my map, each with the enum set to left/right.
I have a simple tapered box like geometry which I try to spawn at this locations. In my GameMode I use ‘get all actors of class’ to get the BP_Locations, and for each I try to spawn the tapered Box, at the BP_Location’s location. This Box has a similar enum, with Exposed on Spawn, and Instance Editable checked. When I spawn the Box, I pass the enum value from a BP_Location to ‘SpawnActor from Class’ node. Box::‘Event BeginPlay’ then sets the value of the enum. If it is right, I apply -1 scale in X direction, resulting in a mirrored shape.
Issue is in their rendering. All the Boxes with ‘left’ enum are displayed correctly. None with ‘right’ are displayed correctly. I tried changing material properties, I tried even removing material. No luck.
This is my tapered Box mesh:
This is how they are displayed in my map, in left and right pairs.
Edit: This is part of a multiplayer game setup and this happens even if I play with a single player, with any play mode.
What is the issue and how do I address it?
Thanks, SP.