We are using unreal engine 5.4.4 with the custom UI plugin to make a game. Our game is written via full blueprints. The PC version of the game is finished and we are now working on porting for xbox using the GDK tools.
We are looking for solutions to help pass cert with minimal changes to the main game. Our game supports two states- single player mode and coop mode with 2 players max.
I’m currently battling controller ID and reassignment. I’ve been having issues with both controllers getting assigned to the first player when switching controllers on disconnect and initializing connected via the xbox reconnect menu. The Xbox tool set as far as I understand it purposely reassigns the Platform User Id to support reassignment. However, when only the first controller is disconnected, but second controller initializes the reconnect it is not clearing the second controller’s user ID properly. This results in both controllers then getting assigned to player controller 0.
I’m using a Bind Event to OnInputDeviceConnectionChange with a Switch on EInputDeviceConnectionState node in a parent player controller’s Event BeginPlay.
I’ve tried many variations of tracking Id’s and creating branches to prevent the double assignment, but cannot find a solution.