-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some custom clothing can crash players #619
Comments
Did you reach out to the asset creator to ask them if they know why this might be happening? |
Include your full error please. Not just "with an error relating to..." |
I've sent the creator a friend request on Discord as there's no support Discord for their addons, just waiting for that. But here's the full error from the log file
|
I've found the cause of the crash, apparently the latest game build (3258 - Bottom Dollar Bounties) does not support extra clothing options (or |
@youremeh the later gamebuilds use up more ymt slots so you have to remove some to account for this or rebuild the ymts to replace stock clothing. |
Summary
Upon adding some custom clothing, when a player loads in and before they are able to see the character selection, they will crash with an error relating to "randomPed()" in client/character.lua on line 152 "SetPlayerModel"
Reproduction
[b3258_GTAProce MainThrd/ ^1SCRIPT ERROR: Error executing native 0x00a1cadd00108836 at address FiveM_b3258_GTAProcess.exe+7C6A38.^7
MainThrd/ ^3> randomPed^7 (^5@qbx_core/client/character.lua^7:152)
MainThrd/ ^3> fn^7 (^5@qbx_core/client/character.lua^7:508)
Expected behavior
Be able to load into the server without crashing and see the character selection screen
Actual behavior
The player crashes once loading has finished, and before they are able to choose a character
Additional context
It only happens with this specific clothing pack (that I've noticed) and not the other addon clothing packs. I've disabled everything else and just ran this and got the same issue, including on a fresh install.
Current Version
1.21.0
Custom Resources
See reproduction
The text was updated successfully, but these errors were encountered: