CreateVehicleServerSetter Crash (Legacy crash hash: earth-south-ten)

Environment questions

GTA V version: 1.0.2944.0
Up to date: Yes
Legit or Pirate copy: Legit
Purchased where - Steam/Rockstar Launcher/Epic: Steam
Windows version: Windows 11
Did you try to delete content_index.xml and try again? No
System specifications: Ryzen 5 3600X Processor with RTX 2060 Graphics Card
CitizenFX crash zip file (‘Save information’ on a crash):
CfxCrashDump_2023_08_04_13_03_50.zip (1.7 MB)
logs/CitizenFX_log files:
CitizenFX_log_2023-08-04T130004.log (121.7 KB)
.dmp files/report IDs:
67817e04-5e31-497c-bcc6-c2e2961c68c6.dmp (10.7 MB)

Important parts

What is the issue you’re having? Clients crash when going near a stryder which was spawned in via CreateVehicleServerSetter.

What are you trying to do? Spawn a stryder using the CreateVehicleServerSetter native (using the type bike).

What have you tried already to fix the issue? Spawning the vehicle with type automobile instead and using vMenu vehicle spawner (which both seemed to work fine).

Error screenshot (if any):

What did you do to get this issue? Spawned a stryder using CreateVehicleServerSetter with the vehicle type as bike.

What server did you get this issue on? Roleplay UK. Also occurred on a blank server with only vMenu & runcode enabled on artifact version 6613 (game build 2545).


Additional comments

Thought I’d report this noting that it was stated in this post that quadbikes should use the vehicle type bike. Also it seems to be more likely to crash if 2+ clients are in the area where the vehicle is spawned.

Reproduceable Code (Server Side):

local playerPed = GetPlayerPed(tonumber(GetPlayers()[1]))
local coords = GetEntityCoords(playerPed)
local heading = GetEntityHeading(playerPed)
local entityHandle = CreateVehicleServerSetter(`stryder`, "bike", coords.x, coords.y, coords.z, heading)

Hello, this is a friendly reminder because this is your first time creating a topic (or it has been a while since your last topic) in this category.

Please note that most of the support is provided by the Cfx.re community on a voluntary basis. We ask you to be patient; there is no guarantee we have a solution to your problem(s). To avoid unnecessary/duplicate topics, please browse the forums before creating a topic.

To improve your chances of your issue(s) being solved, please provide as much information as possible about the issue(s) you are having. Also —whenever possible— please use the template given to you when creating a topic.

Thanks for keeping these forums tidy!
:mascot:

Update: This has been fixed in the latest artifact with this commit. As shown in that commit quadbikes are supposed to use automobile not bike (since using bike now spawns it as a sanchez).

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.