When running the avian_physics example on the latest main (59b089c41e57911653c8d0fe891db86bca50142d), The clients' PrePredicted players are not replicated back to the client.
observe that the client doesn't move when the move keys are pressed, but the server still receives those inputs and moves the client on it's end correctly.
Here is an image showing a host-server (left) and client (right). The client's red box doesn't move, but it moves fine on the server's instance:
Further details
The host-server's player entity moves correctly on the client
The client's player entity has the PrePredicted component, but not Predicted
If a 2nd client is spawned, neither can see each other, and both client instances spam the following log
2024-11-21T16:22:47.572310Z ERROR lightyear::client::input::leafwing: received input message for unrecognized entity entity=Entity { index: 55, generation: 1 } diffs=[[], [], []] end_tick=Tick(32002)
What is happening
When running the
avian_physics
example on the latestmain
(59b089c41e57911653c8d0fe891db86bca50142d), The clients'PrePredicted
players are not replicated back to the client.Steps to Reproduce
avian_physics
server or host-serveravian_physics
clientHere is an image showing a host-server (left) and client (right). The client's red box doesn't move, but it moves fine on the server's instance:
Further details
PrePredicted
component, but notPredicted