Crash hitting check in FSlateApplication::SetUserFocus

I have a game where I setup a lot of players, potentially more than 8 controller id’s are in use and when I have more than 8 then I get a crash in FSlateApplication::SetUserFocus
as I hit this code:

check(InUserIndex >= 0 && InUserIndex < SlateApplicationDefs::MaxUsers);

Can this be made as a set-able variable?
Or even if it were to just return if provided with a bad controller ID as my controller ID’s beyond 8 are for AI’s that are steering a localplayer.

Hello supagu,

Currently this isn’t a variable that you can change without editing the source code and removing the const specifier for it. There are plans to get rid of the variable entirely for a better system however but that won’t be until a later engine version. The best way around this in the meantime would be to download the source for the engine and edit the variable manually.