Vehicle gets deleted after transferring Ownership to the server twice

Client

Using canary? yes
Windows version: Windows 10, version 2004

Server

Operating system: Windows and Linux (tried both)
Artifact version: 2744
IP address: localhost
Resources:
No-Clip (https://github.com/AntwanR942/No-clip)
My own test resource (https://drive.google.com/file/d/1oDRSCoXYMRL7kkzMytjIkVyTF68pmNgO/view?usp=sharing)

Incident

Summary:

  1. Spawning a vehicle (called v1), setting it as a MissionEntity. Entity Owner is 1 (me).
  2. Drive away in another vehicle (called v2). v1 gets transfered to owner -1 (Server).
  3. Come closer again, vehicle (v1) is visible again. v1 gets transfered to 1 (me).
  4. Drive away (in v2) for a second time. v1 gets deleted? new owner is 0.
  5. Come closer again (to v1). Vehicle isn’t visible anymore.

Video:


As you can see, i managed to reproduce the same error 3 times in a row.
first test: 0:38
second test: 2:00
third test: 3:09

Expected behavior:
After driving away from the vehicle for the 2nd time, ownership should be transferred to the Server again.
(If I understand that correctly: A quick note about OneSync server-side persistence)

Actual behavior:
After driving away from the vehicle for the 2nd time, the entity gets deleted from the server. If i try to access the owner via the networkId, it returns 0.

Steps to reproduce:
see video or summary.
my complete test server files: https://drive.google.com/file/d/1VtFmI49KQq7NOGH9W_xDDvNAWbfOn_sR/view?usp=sharing

2 Likes

Seemingly introduced around this bit:

Hopefully fixed as of here:

Just downloaded the lastest server build and tried the same as above again but I cant reproduce this behavior anymore. Seems fixed. Thank you!