Lagging on Unity 3d. (ObjectMovement Example).
If we run it on a local server and try to move more than 2 objects simultaneously it become very slow.
How to resolve this issue?
Lagging on Unity 3d. (ObjectMovement Example).
-
- Posts: 2
- Joined: 07 Sep 2012, 22:40
Re: Lagging on Unity 3d. (ObjectMovement Example).
I have moved your post under the proper section --> SFS2X Client API --> Unity
Re: Lagging on Unity 3d. (ObjectMovement Example).
What do you mean by slow, does the rendering (frame rate) drops?
Are you running two examples on the same machine? If so, check your CPU usage. Maybe it's maxed out.
Anyways, running two or more instances locally should not cause any slow downs unless, as I said, you're using too much CPU.
Are you running two examples on the same machine? If so, check your CPU usage. Maybe it's maxed out.
Anyways, running two or more instances locally should not cause any slow downs unless, as I said, you're using too much CPU.
-
- Posts: 1297
- Joined: 14 Mar 2008, 07:52
- Location: Sweden
Re: Lagging on Unity 3d. (ObjectMovement Example).
Sending is controlled also by the update frequency of the FixedUpdate - so make certain you dont change that too often.
And if both clients run on same machine with 1 being editor, then we've seen issues as well - not even network related. The game running in the editor simply eats a lot of resources.
Best
Thomas
And if both clients run on same machine with 1 being editor, then we've seen issues as well - not even network related. The game running in the editor simply eats a lot of resources.
Best
Thomas
Full Control - maker of Unity/C# and Java SFS API and indie games
Follow on twitter: http://twitter.com/thomas_h_lund
Follow on twitter: http://twitter.com/thomas_h_lund
Who is online
Users browsing this forum: No registered users and 23 guests