Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by WfredC · Jul 27, 2016 at 07:12 PM · networkingdisconnect

[UNET] Why client always random disconnect?

I use unet to build a 1 on 1 pvp game.
And using lan mode to connect each other.(no match-maker)
I know mm has bandwidth limitation, it will cause client disconnect.
but i am using lan mode.
when client disconnect, i cant see any message in console and don't trigger the network error event.
So, how can i fix it?
Or, any reason may cause disconnect?

Comment
Add comment · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Desination-X · Nov 23, 2016 at 10:52 PM 0
Share

I have this same problem :/

avatar image Orami · Nov 23, 2016 at 11:07 PM 0
Share

What are you doing when it disconnects you? If you just stand there will it disconnect you? Is there some combination of inputs that you can do to make this happen?

avatar image Cynikal ♦ Orami · Nov 24, 2016 at 04:36 AM 0
Share

Answers are to be used for answers. Not questions. Please use the comments feature in the future.

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by Desination-X · Nov 24, 2016 at 04:27 AM

I found out why this is happening. Just go to your Network Manager and bump up the Max Delay variable. The default is 0.01, which is far too low, so setting it to 0.1 fixed it for me. You may need a slightly bigger number depending on how much bandwidth you may be using.

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image HaimBendanan · Feb 25, 2017 at 11:25 AM 0
Share

Thanks, seems like it was my problem too :)

avatar image am1goo_41 · Sep 05, 2017 at 11:10 AM 0
Share

What is it "$$anonymous$$ax Delay"? Where i can find this variable in Network$$anonymous$$anager? $$anonymous$$aybe you mean "Send Delay" or "Ack Delay" or something else?

avatar image chris-nolet am1goo_41 · Sep 23, 2017 at 04:45 AM 0
Share

If you right-click on the 'Inspector' tab, and then select 'Debug', the $$anonymous$$ax Delay field will appear, along with many other hidden properties and settings. (Right-click and select 'Inspector' to get the standard inspector tab back.)

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

8 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

[UNET] How to handle disconnection? 1 Answer

Could not connect to a server that was full 1 Answer

Multiplayer Game Disconnects 1 Answer

[UNET] Handle Client Disconnection 1 Answer

Unity Local network always disconnects after ~1053 seconds 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges