AssettoServer icon indicating copy to clipboard operation
AssettoServer copied to clipboard

Player Desync / Visibility Issue for Mixed Local/External Clients on x.54 server for arm64

Open NullsetForge opened this issue 1 year ago • 0 comments

Version: v0.0.54 (latest stable release) Platform/OS: Raspberry Pi 5, Raspberry Pi OS 64-bit (latest)

1. Summary: When hosting an Assetto Corsa server on a Raspberry Pi 5 using ALVR v0.0.54, a client connecting from the same local network and another client connecting from outside the network are unable to see each other in-game, despite successfully joining the same server lobby. Players appear desynced on each other's screens.

2. Steps to Reproduce:

  1. Set up an Assetto Corsa dedicated server on a Raspberry Pi 5 running the latest Raspberry Pi OS 64-bit using native binaries to AssettoServer v0.0.54.
  2. Ensure all necessary ports are open, NAT is open, and the server successfully registers and is visible publicly.
  3. Have Client A connect to the server from a machine on the same local network as the Raspberry Pi server.
  4. Have Client B connect to the server from a machine located outside the local network (e.g., a friend's house via public IP).
  5. Both Client A and Client B should successfully join the server lobby.
  6. Start a session (e.g., practice, race).

3. Expected Result: Both Client A and Client B should be able to see each other's cars and movements in real-time within the Assetto Corsa session, and their positions should be synchronized for both players.

4. Actual Result: Both Client A and Client B are able to join the server and appear in the lobby's player list. However, once in the session, Client A cannot see Client B's car, and Client B cannot see Client A's car. Players appear desynced or invisible to each other in the actual gameplay session.

5. Repro Attempts: 20/20 successful reproductions. The issue is consistently observed under the described conditions.

6. Additional Information/Context: Network Configuration: All relevant ports (e.g., 9600 UDP/TCP, 8081 TCP) are confirmed to be open via port forwarding, and NAT is reported as "Open." The server is publicly reachable and both clients can join.

Client Connection: Both clients successfully connect to the server, and their presence is registered in the lobby. Comparison with Original Server Executable: When the original Assetto Corsa dedicated server executable (not ALVR-based) is hosted via WINE on a Linux machine (or directly on Windows), and the same mixed local/external client setup is used, both players are able to see each other and are properly synchronized. This suggests the issue is specific to the ALVR implementation of the server on the RPi5.

Hypothesis: The ACserver implementation on Raspberry Pi 5 may have an issue handling network traffic or player state synchronization when dealing with clients connecting via different network paths (internal loopback vs. external internet connection).

NullsetForge avatar Jun 16 '25 04:06 NullsetForge