Face shape 0 causes mesh explosion on mp_m_freemode_01 and mp_f_freemode_01

When selecting face shape index 0 (shapeFirst = 0 or skinFirst = 0) for the headBlend
of mp_m_freemode_01 or mp_f_freemode_01 peds, the character model completely breaks,
causing a mesh explosion where the geometry explodes in all directions, making the
character unplayable.

Steps to reproduce:

  1. Open illenium-appearance character editor
  2. Go to Heritage/Herencia section
  3. Set Father (shapeFirst) or Mother (shapeSecond) to index 0
  4. The ped mesh immediately explodes

Expected behavior:
Face index 0 should render correctly like any other face index.

Actual behavior:
The ped mesh explodes into a broken geometry as soon as face index 0 is applied
via SetPedHeadBlendData.

Environment:

  • illenium-appearance version: v1.2.1
  • Framework: QBox (qbx_core)
  • FiveM build: b3258
  • The issue persists after:
    • Fresh reinstall of illenium-appearance
    • Clearing the playerskins database table
    • Stopping ALL other resources
    • Testing with both male and female freemode peds

Additional context:
The headBlend data stored in the database is correct (values are stored as 0, not null).
The issue appears to be at the engine level when calling SetPedHeadBlendData with
shapeFirst = 0 or skinFirst = 0 on freemode peds.
No gameconfig.xml is currently installed on the server. Could this be related to
memory pool limits?

2 Likes

Hello I’ve seen reports of this being caused by the resource fivem-greenscreener, that replaces face shape 0 with an empty model. Do you have this resource and does the issue disappear when you remove it?

For me it was fixed when removing the fivem-greenscreener script.