suriyun-production / battle-io-docs

This is document for Battle IO project (https://www.assetstore.unity3d.com/#!/content/101113?aid=1100lGeN)
https://suriyun-production.github.io/battle-io-docs/
1 stars 0 forks source link

Disconnecting - reconnecting bug #6

Closed Vauxvogh closed 4 years ago

Vauxvogh commented 4 years ago

Hey Suriyun there seems to be a crucial bug - when you are playing online and then if you get disconnected, but then try to play another match, when the match loads it seems to try to load twice, and then on the scoreboard the the player rank number says #NA and the match is all messed up.
-This only happens if you get disconnected and then try to play another match thanks

insthync commented 4 years ago

I'll check it.

Vauxvogh commented 4 years ago

Hey Thanks Suriyun I see you updated the package with a fix, thanks. Would you mind just posting the scripts you changed to fix it? So that I don't have to re download the whole pack because I've changed other scripts and don't want to accidentally replace a script I didn't need to replace. Thanks

insthync commented 4 years ago

Just update Simple Photon 2 Manager

Vauxvogh commented 4 years ago

Thank you!

Vauxvogh commented 4 years ago

hey sorry suriyun I don't thinks its fixed yet. Just got disconnected from a match, then I tried to play a new match and when it loads up this what happens

Vauxvogh commented 4 years ago

DataMessup

Vauxvogh commented 4 years ago

It doesn't register anything

insthync commented 4 years ago

Update https://github.com/insthync/simple-photon2-networkmanager again.

Commit info https://github.com/insthync/simple-photon2-networkmanager/commit/7cac32962f738cebb436298e813c154c92d08de7

Vauxvogh commented 4 years ago

ok thanks, hey status effect seems bugged everytime i make a new status effect entity it gives it a negative hash ID and wont let me change it, Then when trying to use the status effect entity in game it throws this error, and all players arent able to attack.

"float.NaN has been passed into WaitForSeconds which will result in an infinite wait time. UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)"

Vauxvogh commented 4 years ago

im using unity 2019.3.6 if that helps, since it seems to use unity editor to get hash Id?