lightyear icon indicating copy to clipboard operation
lightyear copied to clipboard

A networking library to make multiplayer games for the Bevy game engine

Results 119 lightyear issues
Sort by recently updated
recently updated
newest added

## Problem If you set the tick rate above 60Hz, interpolated entities using the default linear interpolation will start to look very laggy, teleporting and freezing in place. ## How...

C-Bug
A-Interpolation
C-Performance

Use https://github.com/cBournhonesque/bevy/blob/main/crates/bevy_ecs/src/world/entity_ref.rs#L828-L828 when applying received components

A-Replication
C-Performance

- Video about relay server + authority transfer: https://docs.coherence.io/overview/how-does-coherence-work It would be nice to also have a seamless authority transfer (which should be doable pretty easily! It's just a matter...

Currently I'm trying to get `ClientState` to display the reason why connection to the server failed, but I'm having difficulty actually getting `NetcodeClient` from anywhere. I tried: - Reading the...

A-Netcode

List of networking models: https://mas-bandwidth.com/choosing-the-right-network-model-for-your-multiplayer-game/ - [x] Distributed authority (with client-side simulation): supported - [x] Pure Client/Server (all clients use interpolation): supported - [ ] Client-side prediction and lag compensation:...

Maybe via a command like this: https://github.com/cBournhonesque/lightyear/blob/0.14.0/lightyear/src/shared/replication/commands.rs#L9 ?

A-Replication

The script for generating certificates is currently ``` # Generates a self-signed certificate valid for 14 days, to use for webtransport # run this from the root folder OUT=examples/certificates openssl...

good first issue
O-Web

We store some bevy `Tick` in the ReplicationSender to track if we should send an update using change detection. Those values need to be clamped, just like bevy's ticks are....

https://github.com/cBournhonesque/lightyear/blob/303a2f00201a0e55bdd84fb940e955ee47387187/lightyear/src/channel/builder.rs#L199 Docs say this is a Duration. Is this wrong? It's an f32.

good first issue
C-Docs

After running ```rust mut servers: ResMut, // ... let _ = servers.disconnect(*client_id); ``` we get spammed with logs ``` 2024-08-30T20:53:28.729407Z ERROR send_packets: lightyear::server::networking: Error sending packets: netcode error: tried to...

C-Bug
A-Netcode