[Grooms - Hair Card Generator] Engine crashes on "Generate Hair Cards"

Hello,

I am trying to create a Hair Cards mesh for my hair groom asset with LODs, but I found out the editor just crashes after I try to create the card. What I found out is that after calling get_points_per_curve() in ‘\Engine\Plugins\Experimental\HairCardGenerator\Content\Python\CardUEInterop\ue_card_gen_controller.py’, UE just crashes without any traceback in the crash log.

Steps to Reproduce

  1. Enable ‘Hair Card Generator’ plugin
  2. Open up a groom asset
  3. While following this guide
    1. Create new LODs
    2. Add 2 material slots and assign materials to them (M0 = generic hair material, M1 = MI_Hair_Cards)
    3. Assign material to Strands
    4. Create new Card asset
      1. Put LODIndex = 0 or 1 to the card asset
      2. Assign Material 1 to it
    5. Click on ‘Generate Hair Cards’

Hi,

Unfortunately I haven’t been able to reproduce this following the repro steps - could you share the groom, or even a better, an clean example project with it that has the crash?

Would you be able to test it with a different groom asset as it may contain some invalid data?

If another groom asset works okay, it might just be the asset has an incorrect LOD, strand data, or material assignment.

Does this happen right after you click generate hair cards, specifically does the Generating Hair cards for settings window show up or does it crash prior to that?

Regards