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
0
Question by Sajjoo · Aug 18, 2011 at 07:00 AM · multiplayerlagjitterunityiphone

facing lag/jitter issues in multiplayer game.

Hi, i am working on a racing game and i implemented multilayer and used unity,s master server. This game is for iphone actually. i start facing huge lags/jitter as speed increases i have also used interpolation and extrapolation also tried reliable delta compressed and unreliable but no luck.

can anybody tell me how can i overcome this lag issue? any help will be really appreciative. thanks

Comment
Add comment · Show 4
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 Sajjoo · Aug 18, 2011 at 07:55 AM 0
Share

Anyone???

avatar image TheDarkVoid · Aug 18, 2011 at 09:23 PM 0
Share

i have the same problem, haven't figured out the problem yet

avatar image Fattie · Oct 01, 2012 at 03:52 PM 0
Share

@muhammed, hello, you would have to explain your problem in much more detail.

at the moment we know nothing. we do not even know if your objects are physical or kinematic !

avatar image whydoidoit · Oct 01, 2012 at 04:08 PM 0
Share

I would firstly advise that this is something you need to do with RPC not with standard networkViews. You need high speed transmission of data and you will need small packets of data. You will probably need to simulate a part of the physics of the vehicle on the remote players and send data like - the player is pressing the throttle, the player is pressing the brake, the player is steering like this - then you can extrapolate better than just trying to add on the current velocities. It's still going to be very hard.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by felixwcf85 · Oct 01, 2012 at 03:47 PM

This is some stupid Unity issue and I don't know why there's no solution on every questions I found on the internet, now I'm very frustrated.

I'm doing a racing game probably same as you mentioned, not much 3D objects, but their position need to be translated. and I have a conclusion which the problem is on Time.deltaTime. There' so many questions about this LAG ISSUE they're facing when they tried to use Translate, or Transform.position, yet all of the questions do not have the satisfying answer. The problem should be eliminated ASAP, because this is a very "easy" question.

I do hope that some Unity experts can answer for US about this.

Comment
Add comment · Show 2 · 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 Fattie · Oct 01, 2012 at 03:51 PM 1
Share

what the heck are you talking about ?

f you have some SPECIFIC, CLEAR problem, let everyone know! with full details.

  1. networking program$$anonymous$$g is very difficult. some people never master it, and if you do it can take years. normally it's done by professional engineers (not hobbyists) with decades of experience. unity makes RT networking as easy as could possibly be - but it's hardly easy.

  2. unity's system works very reliably, I see no problems and can get all the same results as systems that start with raw networking code

avatar image whydoidoit · Oct 01, 2012 at 04:05 PM 1
Share

Time.deltaTime is categorically not the issue.

There is no harder game to write multi-player networked than a car racing game. The lag issue is in the network not in Unity - extrapolation and interpolation of fast moving objects with rapid velocity changes is extremely difficult to make look right.

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

6 People are following this question.

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

Related Questions

overrides scripts values in unityiphone multiplayer. 0 Answers

Multiplayer Clients Jitter On Moving Platform? 1 Answer

Prime31 integration. 1 Answer

Photon - How to sync ball in soccer game 2 Answers

How can i make my scene less laggy? 2 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