`PhysicsPlayer` local player of `PhysicsSample` cannot be controlled by client
See original GitHub issueDescription
The PhysicsPlayer
cannot be controlled (using WASD or arrow keys) by the client, it doesn’t move at all.
Reproduce Steps
- Open the
PhysicsSample
scene - 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
Issue Analytics
- State:
- Created a year ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Controlling other character's physics from the client?
It's just that I need a way to control the physics of other player's characters locally, so I can make other players move...
Read more >Client based physics not the same as server
Anyway, after messing about with the networking tutorial, I've managed to get a game that connects over the network in a server->client basis....
Read more >How are physics managed between the server and ...
As a developer, I care about my game's performance, knowing how to assign physics processes between the server and the client would be ......
Read more >Multiplayer: server-side physics Vs client-side
I use both interpolation and extrapolation clientside. Player movement/control is handled on the server too, the client only sends the ...
Read more >Practical questions about Integrating physics on a ...
You can see that the local client (no orb over head) is moving smoothly, while the server position is choppy. This was done...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@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
This is probably a bug in the Sample, and the Sample may be broken.