Create Local Player returns "none"

m5m_
Tue, 01 Oct 2024 18:11:19 +0000
Programming & Scripting

Hi all,

This question is related to this other post about Xbox gamepads being assigned the same controller ids, but I’m trying to broaden out the search for a solution.

On Begin Play, we create three local players in addition to the first player that is created automatically. Their Controller Ids are -1 because according to the docs “a value of -1 specifies to use the next available ID”. So these players should be automatically assigned to controllers/gamepads 1 to 3 (0 being already assigned to the first player automatically).

However, if we print the object name of the Return Value from Create Local Player (which is a Player Controller Object Reference), it prints as “none". So, it seems like the Player Controllers are actually not being created.

This only happens in Xbox consoles and we haven’t been able to reproduce it in the editor (where controllers’ object names are printed correctly), PC or other consoles, but we still wanted to ask if anyone has experienced this before.

It is also similar to the issue explained in this unresolved post: Cannot stop controller 2 and 3 from controlling player 1 in local multiplayer

Thanks for your help!

1 post - 1 participant