Game crash when use CreateVehicle with CreatePedIntoVehicle


Using canary? Yes
Windows version: 8.1 & 10
System specifications: Any


Operating system: Windows Server
Artifact version: 2601 & 2778
IP address: Localhost and Public server
Resources: +150
System specifications:


Summary: The game is crashing when a script create a vehicle with a ped inside using those natives (CREATE_VEHICLE & CREATE_PED_INSIDE_VEHICLE)
Expected behavior: Not crash when use those natives.
Actual behavior: Crash during these natives usage
Steps to reproduce:
Start the resource in the file repro provided below and connect to the server.
Server/Client? Client
Files for repro (if any):
NPCCrashRepro.rar (669 Bytes)
Error screenshot (if any):
.dmp files/report IDs: (1.7 MB) (1.7 MB) (1.6 MB)
CfxCrashDump_2020_07_26_01_50_36 (1).zip (1.5 MB) (1.7 MB)
Any additional info:
New crash hash: gta-net-five.dll!::operator() (0x5c4)
Old crash hash: gta-net-five.dll+54D74
Crash line:

:roll_eyes: ah. guess at some stages a netobj can have occupants without netobj. whoops!

will be fixed next batch of commits