Hello. I'm working on a 3rd person game and have been using Mirror for a month or so now. Previously I had this working without issue and I'm not sure what changed as I didn't touch anything Mirror related. Currently when a player joins a game whether by hosting or joining a server they are able to move, but other players cannot see their movement. The players rotation (from moving their camera around) is syncing though. I've checked the network transform, tired both reliable and unreliable. They are set to sync all 3 settings (position, rotation, and scale) and I have the sync direction from client to server. Any idea why this is happening and how I can debug it as I'm not seeing any errors in the console that are mirror related, and the movement is working on both players screen, they just can't see each other moving.
#Network Transform not updating position
6 messages · Page 1 of 1 (latest)
To add onto this, I recreated my player prefab with just a capsule and a pretty similar gameobject heirarchy and the network transform is working as intended. I'm not sure what is wrong with my current prefab that is causing it to not sync. I've checked for extra colliders, rigidbodies, or character controllers and none seem to be extra on it or mismatch from my test one I just made and got it working on. Any help or ideas is appreciated 🙂
@fossil fern check if the non local player objects have rigidbody that isKinematic?
I'm not using rigidbodies for my players, just a character controller. Do I need a rigidbody?
No you don't need rigidbody. Maybe try turning off the character controller if not localplayer
That fixed it, it must have gotten turned on when I was messing with stuff. Crazy how it was that simple. Thank you very much for the help.