Client
Using canary? yes
Windows version: Windows 10
System specifications: i7 8700k/ 1080 gtx / 16go ram
Server
Operating system: same computer
Artifact version: 2802
Resources: None/Defaults
System specifications: same as above
Incident
Summary: Vehicles are delete (entityDeleted event trigged) when you go out of the vehicle scope
Expected behavior: Persistant vehicles shoud be recreated when you enter in back in their scope
Actual behavior: Persistant vehicles are deleted, so they can’t be recreated
Steps to reproduce:
- Only one player is needed
- Spawn a vehicle client side or server side
- Go away and go back, the vehicle is deleted
- You can print entities deleted (EntityPopulationType 7) using the entityDeleted event
Server/Client?
Files for repro (if any):
API.RegisterCommand("cli", new Action<int, List<object>, string>(async (int source, List<object> args, string rawCommand) =>
{
Vehicle veh = await World.CreateVehicle(new Model(VehicleHash.Adder), LocalPlayer.Character.Position + 3f);
//veh.IsPersistent = true; <- doesn't change anything
await World.CreatePed(new Model(PedHash.Abigail), LocalPlayer.Character.Position + 2f);
}), false);
Error screenshot (if any):
.dmp files/report IDs:
Any additional info:
- Works as excepted for peds
- A similar issue described here: Vehicle gets deleted after transferring Ownership to the server twice except this time, this is not after transferring Ownership to the server twice, it happen at the first time
- Tested with and without onesync_forceMigration
- OneSync Infinity