Fusion Local Player Lagging
The whole answer can be found below.
Try Our
Documentation
Please check if you can find an answer in our extensive documentation on Fusion.
Join Us
on Discord
Meet and talk to our staff and the entire Photon-Community via Discord.
Read More on
Stack Overflow
Find more information on Stack Overflow (for Circle members only).
Fusion Local Player Lagging
AmirRahmani
2022-07-27 11:40:38
Hello Photon Team.
I created my first project with Fusion Recently. I had worked with PUN and Mirror.
So far I had some issues with Fusion but I'm learning it and it's way better than I thought. Great Job on Fusion Photon Team👍️
I'm developing a Multiplayer Car Game and so far the Synchronization is AWESOME. but the Car game object for the local player is a bit laggy and the sound effects is weird.
Here is a sample video for more info.
https://drive.google.com/file/d/1GihHAPtxJiUarpgiV-zi_2OUQp9NeuCA/view?usp=sharing
This is my Car's Components:
PlayerSync is a script I wrote for syncing Camos and Wheel Smoke Effect
I tried using:
Network Transform
Network Transform Obsolete
Network Transform Ancher
Network Position Rotation
Network Rigidbody
Network Rigidbody Obsolete
So far the Network Rigidbody was the best, but still a bit laggy for the local player.
What should I do that the network scripts won't effect the local gameObject?
Comments
hi @AmirRahmani , i have almost the same situation here, did you find any solution for this ?
AmirRahmani
2022-07-28 14:24:20
manutm 2022-07-28T04:52:11+00:00
hi @AmirRahmani , i have almost the same situation here, did you find any solution for this ?
Not Yet.
AmirRahmani
2022-07-28 17:09:11
manutm 2022-07-28T04:52:11+00:00
hi @AmirRahmani , i have almost the same situation here, did you find any solution for this ?
I think I found the solution.
It's because the Fusion does the physics and don't let unity does it.
To fix it do these:
Go To Fusion => Network Project Configand set the Physics Engineto
- None
Use the Network Transforminstead of
- Network Rigidbody
I think that is all you should do.
This is my Network Transform Componenet:
Please let me know if it worked for you.
@AmirRahmani Nope, it didn't work for me, when i did this it was causing game lag, stuck etc., which version of unity are you using.
Back to top