fivem-appearance icon indicating copy to clipboard operation
fivem-appearance copied to clipboard

Hair Bugged for Peds when switching clothes / hands

Open waseem-h opened this issue 2 years ago • 6 comments

When changing appearance of peds, the hair gets bugged and they disappear. The only way to fix it is to switch to some other ped and then choose the older ped again. But this means that I can't swap clothes on peds. Here's a demo: https://streamable.com/d2imfj I'm using the latest commit build

waseem-h avatar Apr 29 '22 12:04 waseem-h

Hi! Tried with latest build release (1.2.1) and happens the same, im gonna check if its a script error or just a fivem/gta bug on latests artifacts. Demo testing: https://streamable.com/u92f5c

Could you tell me what artifacts are you using?

Ty in advance.

franfdezmorales avatar Apr 29 '22 13:04 franfdezmorales

Hi! Tried with latest build release (1.2.1) and happens the same, im gonna check if its a script error or just a fivem/gta bug on latests artifacts. Demo testing: https://streamable.com/u92f5c

Could you tell me what artifacts are you using?

Ty in advance.

I'm using FXServer build: 5483 Doesn't look like a GTA bug since I can switch clothes using vMenu just fine

waseem-h avatar Apr 29 '22 19:04 waseem-h

@franfdezmorales So I think I found out where the issue is. The above behavior does not happen if:

  • Open customization
  • You switch the ped
  • Save customization
  • Open customization again
  • Change components

So it only happens when you change the ped and start changing the components right away. This could mean that something is either wrong when switching to the ped (it doesn't get set properly as GTA wants it) or maybe its because of saving the previous state of the player before opening the customization cause it somehow messes the ped switch component changes.

I haven't figured out how to fix it because the appearance_change_model callback seems to look fine. Maybe you have some more insights?

waseem-h avatar Apr 30 '22 05:04 waseem-h

Hello, on these days i will review this issue. Ty for ur research!

franfdezmorales avatar May 02 '22 14:05 franfdezmorales

Was there ever a resolution for this? i seem to be having a similiar issue, my vanilla peds are having this issue with the hair sticking like the above, however my custom peds are just having their entire heads messed up. I can link my bug report in QB if you need to see the issue.

Shotoki avatar Oct 29 '22 01:10 Shotoki

https://github.com/qbcore-framework/qb-clothing/issues/155#issuecomment-1657273076

Galaxyz7 avatar Jul 30 '23 21:07 Galaxyz7