qbcore-framework / qb-core

FiveM RP Framework Core :muscle:
GNU General Public License v3.0
590 stars 960 forks source link

[BUG] Getting Teleported Back Into Vehicle #1140

Closed dthepriman closed 2 days ago

dthepriman commented 1 month ago

Summary

For some reason, when exiting a spawned vehicle (from any job), I can’t get out of it. I can press F to get out, the ped gets out for a second but then It gets teleported back into the vehicle for no absolute reason. Can someone help please?

Reproduction

I am currently using the latest QBCore base server build, did not modify anything other than the job file configs.

Expected behavior

To let me out of vehicles...?

Actual behavior

It teleports me back into the spawned vehicle

Additional context

No response

Last Updated

today

Custom Resources

nope

Resource Rename

nope

MadMarchel commented 1 month ago

I have the same problem once i leave the server i get an error in the console

[ script:qb-core] SCRIPT ERROR: Execution of native 00000000afe92319 in script host failed: Tried to access invalid entity: 131073 [ script:qb-core] > SpawnVehicle (@qb-core/server/functions.lua:346) [ script:qb-core] > ? (@qb-core/server/events.lua:254) [ script:qb-core] > TriggerCallback (@qb-core/server/functions.lua:456) [ script:qb-core] > handler (@qb-core/server/events.lua:128)

I've reinstalled qb-core after and still does not work

minipunch commented 1 month ago

Same!

Happening when spawning a police vehicle with qb-policejob on a pretty fresh copy of qb

Does not seem to happen if I spawn the vehicle myself though

Is it because I don't have the keys when spawned from the police job (which is odd also) maybe?

minipunch commented 1 month ago

FIX: update your server artifact version ✔️