Photon disconnect after switching from mobile data to WIFI

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?


all games like these

because the ip changed

you should add UI button"ReConnect" its also include in photon demo example