GameMode instance different on mobile

Hey all, new to Mobile development so apologies if this is a thing, but I can’t imagine it is. I pushed my game to my phone after doing the initial testing on my pc - I ran into an issue that only exists on Mobile, I noticed that the GameMode instance is not the same on PC and Mobile, see below.

PC:
LogBlueprintUserMessages: [BP_GameMode_C_0] PlayerController_0
LogBlueprintUserMessages: [BP_GameMode_C_0] Translation: X=-1008.000 Y=703.000 Z=227.000 Rotation: P=0.000000 Y=-90.000000 R=0.000000 Scale X=1.000 Y=1.000 Z=1.000

Mobile:
LogBlueprintUserMessages: [BP_GameMode_C_2147482470] PlayerController_2147482456
LogBlueprintUserMessages: [BP_GameMode_C_2147482470] Translation: X=-1008.000 Y=703.000 Z=227.000 Rotation: P=0.000000 Y=-90.000000 R=0.000000 Scale X=1.000 Y=1.000 Z=1.000

It looks like the Spawn location is the same, so that’s fine, but my PlayerController/GameMode are some crazy different number and I think that’s what’s breaking my controls on Mobile and not PC, anyone know if that could be the case or is it normal to have this weird instance value change between platforms?

So the issue turned out to NOT be related to the above - I had some debug code in my camera BP that was causing issues, once I removed that and changed the order of things loading I fixed the problem.

1 Like