Hi,
I’m creating a RTS where each instance of the game configures the unit’s materials depending on its faction relation with those units.
For exemple, consider a map with two factions, A and B. The players belonging to faction A would see B’s units as red and the A’s units as blue. For players of faction B it would be the reverse: A as red and B as blue.
Currently, when a new player enters the game it will cycle all the unit’s and calculate, according to the faction, its appearance.
For the server it works, but for the clients the material are not set.
My Setup: