`PhysicsPlayer` local player of `PhysicsSample` cannot be controlled by client
Description
The PhysicsPlayer cannot be controlled (using WASD or arrow keys) by the client, it doesn't move at all.
Reproduce Steps
- Open the
PhysicsSamplescene - Host a game
- Open a new instance and join the game
- Try to move the player on the client instance, the player won't move.
Actual Outcome
The client player can't be controlled at all.
Expected Outcome
I'd expect the client to be able to control the player and move it around, exactly how the host can move their own local player.
Screenshots

Environment
- OS: Windows 10
- Unity Version: 2021.3.2f1
- Netcode Version: 1.0.0-pre.9
- Netcode Commit: https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/commit/9f950ceb66716d746e9f7c5ac48878359173efca
This is probably a bug in the Sample, and the Sample may be broken.
Backlog MTT-4083
@LoneDev6
There were recent updates to the PlayerMovement script that no longer require the NetworkTransform component. (PlayerMovement derives from NetworkTransform now)
I will open a PR to resolve this issue with the sample, but for the time being if you remove the NetworkTransform component from the PhysicsPlayer prefab it should work as expected.
Thanks for the efforts but I had to move to another solution since this doesn't seem production ready.
@LoneDev6
I am sorry to hear that, but glad you found the netcode solution that meets your project's needs.
Hopefully you will consider using Netcode for GameObjects with your next Unity project.
Best Regards,
Noel
The fixes will be in the next update and are now merged into the develop branch.