[Bug] Invoking native IsPedCollectionComponentVariationGen9Exclusive causes the game to crash #204
Closed
n0minal
started this conversation in
[BUG] FiveM for GTAV Enhanced
Replies: 2 comments 5 replies
|
async setGenderCommand(args: string[]): Promise { i crashed when call this too. but legacy can do it i didn't use IsPedCollectionComponentVariationGen9Exclusive yet |
1 reply
|
I re-tested with the latest fix and I can confirm the issue was solved. It no longer crashes the client. Feel free to close this discussion. |
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Summary
Calling IsPedCollectionComponentVariationGen9Exclusive on a freemode ped hard-crashes the game client (full crash dump, no Lua error) on FiveM for GTA V Enhanced (gen9). The exact same call runs fine on Legacy (gen8).
The crash happens on the first invocation, with the most basic arguments: component slot 1, base collection "", drawable index 0, on mp_m_freemode_01. It is not data-dependent, and does not require a specific drawable or a streamed collection. There is a ~3s delay between the call and the crash, suggesting the native hangs / corrupts state before the process goes down.
Native
IS_PED_COLLECTION_COMPONENT_VARIATION_GEN9_EXCLUSIVELua:
IsPedCollectionComponentVariationGen9Exclusive(ped, componentId, collection, drawableId)Minimal reproduction steps
Run /gen9crash in-game → client crashes within a few seconds. On Legacy the same command prints survived.
Issue type
Client
Repro rate
Always
Server build version
build 95
OS
No response
CPU
No response
GPU
No response
RAM
No response
Storage type
None
Connection type
None
ISP and bandwidth
No response
DxDiag
No response
Network graph
No response
Platform
None
OS version / distribution
No response
CPU
No response
RAM
No response
Using txAdmin?
None
Hosting provider
None
Machine type
None
/perf endpoint output
No response
DDoS protection
No response
ulimit -n value (Linux only)
No response
Docker Compose file (Docker only)
No response
Steps to Reproduce
Provided in the summary
Expected Behavior
Not crash
Actual Behavior
It crashes
Evidence
No response
Additional Context
No response
All reactions