I'm currently developing a multiplayer game that is already quite advanced. I was using the Photon plugin to handle the multiplayer, but after seeing the costs benefits of p2p and all the other features of the official Multiplayer plugin, I decided to switch.
Pretty much everything works perfectly and is super smooth, but one issue remains.
I first thought it was a bug, and you can see my bug report here. Here is the c3p I submitted (needs R215 at least)
Basically, I'm using local input prediction for the peers, so it can hide the lag and prevent cheating. But, if a peer collides with a solid, it still tries to move a little bit, when it's completely stopped on the host side. On collisions around solids corners, it sometimes makes the peer moves past the object when it reality it should've stopped right away.
Here are 2 gifs that show the issue.
I tried to make so the collisions are disabled on the peer side and only rely on collision detection done by the host, but it makes the peer going almost entirely into the wall (like noclip) before going back to his normal position.
My question is : has anyone done a multiplayer game using collisions and knows how to fix this issue ?