As the title says, whenever I switch from mobile data to wifi, the game keeps going normally and then I get disconnected after about 45 seconds.
Is there anything in photon that might cause this problem?
no
all games like these
because the ip changed
you should add UI button"ReConnect" its also include in photon demo example