Setting manual network ownership for vehicle not working

I am scripting a vehicle system for my game, but I am encountering a problem regarding the network ownership of my vehicles.

When a player sits in the driver’s seat, the assembly’s network owner is manually set to that driver. However, when there are no drivers and the network ownership is to the closest player, my problem occurs.
If a player is standing next to the vehicle (with network ownership) and another player comes and sits in the vehicle seat, gaining network ownership from my server script, the vehicle’s movements do not replicate for any other player in the game. The vehicle moves on the server & for the client who is driving, but not for any other player.

Now if that player who was standing next to the vehicle moved away, and then the player came up and was automatically assigned network owner by the game, and then sat in the vehicle seat, then the vehicle works fine and movements are replicated for all players.
The only difference between it working and not working is if the server automatically assigns network ownership or if I manually assign network ownership.

All controls/movement for the vehicle are handled by the client, and I think that may be the source of my problem, but as I said it works fine when the game automatically assigns network ownership.
Any ideas on what the problem could be?

EDIT:
This problem is no longer happening and I didn’t change anything, so I assume it was Roblox bug that got fixed.

1 Like