I have an issue in a local (splitscreen) multiplayer game.
I want to set the class of a widget based on the player index. The widget is a pawn component. Its default class is none. At the moment when the game spawns the pawns, the InitialSetup (as seen on the image) is called from GameplayPC (Player Controller class used during gameplay). Its purpose is to set the respective widget class for each Player Controller index. However, for an unknown reason it seems to work only for index 1.
My question is: why can’t I call the functionality for the index 0? As far as I know, there is a copy of a Player Controller for each Player created/connected, so it should work.
Thanks in advance!