Player Automatic Disconnect from Room
Options
hello
in my game whenever i join any room with number of two or more player in room Automatically after sometime remotely instantiated player in my game disconnect and "Network destroy Instantiated GO" debug display with disconnected player. How to solve it. i have try a lot but cant succeed. please help Me.
in my game whenever i join any room with number of two or more player in room Automatically after sometime remotely instantiated player in my game disconnect and "Network destroy Instantiated GO" debug display with disconnected player. How to solve it. i have try a lot but cant succeed. please help Me.
0
Comments
-
Hi,
So one of your clients disconnects if number of connected clients > 2?
What is in logs of disconnected client? Could it be because of poor internet connection?
Did you read this https://doc.photonengine.com/en/realtime/current/reference/analyzing-disconnects0 -
hello..
This debug display in console window "HandleEventLeave for player ID" with player id which is disconnected. and "Network destroy Instantiated GO: " + go.name so this debug will show when remotely generated all connected player disconnect from home gameplay and Room also.
i have not check any other condition for it. may be some problem with Key or some other features.
Please suggest me Any solution or guidance how to prevent it.
Tahnks..
0 -
So what's in log of disconnected client?0
-
currently not disconnected from any side. i have tried and one thing is that when i run this code in mac than and than this problem arise. when i use windows pc this problem never arise.
Any suggestion on this ??
And one of my Friend stuck at some point he has also post on this forum but no one reply him so he told me to pass this msg to you.
http://forum.photonengine.com/discussion/7144/how-to-move-photon-object-using-raycast-to-different-multiplayer-position#latest. already he has waste lots of time and lots of stuff on this issue. its really great if you can help him on this topic.
Thanks for your reply.0 -
Glad that it does not disconnect anymore. No ideas why it did not work on mac.
I saw your friend's question. You and friend posted same question several times:
http://forum.photonengine.com/discussion/7144/how-to-move-photon-object-using-raycast-to-different-multiplayer-position
http://forum.photonengine.com/discussion/7119/player-position-in-home-device
http://forum.photonengine.com/discussion/7113/player-position-in-network
Unanswered question means that no one knows an answer for now.
0 -
Thanks... first two question are different first i want such type of player position in network and in second question which was from my friends when i get such position after than he has start to work on move object from 1 to 2. but in another gameplay 1 and 2 both have different location but object should move from 1 to 2 player. and we also get its solution.
Thanks btw. Next time we will take care about not duplication of any question.
0