MirrorNetworking / Mirror

#1 Open Source Unity Networking Library
https://mirror-networking.com
MIT License
5.26k stars 777 forks source link

webgl swp disconnected when no operating for a period of time #3918

Closed Xiobio closed 1 month ago

Xiobio commented 1 month ago

Describe the bug webgl swp disconnected when no operating for a period of time

[IMPORTANT] How can we reproduce the issue, step by step: Please tell us how to reproduce your issue, STEP BY STEP, with one of our built in examples. -> build a webgl version as client,build a linux version as server. -> use web to join the game -> leave the web page for a while ->character disappear and swp disconnected

Any bug that can be reproduced, can be fixed. If we can't reproduce it, we can't fix.

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem. img_v3_02fi_7b950b67-e27b-42ae-84c1-6727d1a9179h

Desktop (please complete the following information):

Additional context Add any other context about the problem here. when i connect the game on web and no operating for a period of time ,my player disappear and swp disconnected .how to keep it alive for longer time

MrGadget1024 commented 1 month ago

Answered in discord