umasteeringgroup / UMA

Unity Multipurpose Avatar
MIT License
726 stars 167 forks source link

HDRP Predefined DNA not working as expected #351

Closed Maxwelljones closed 3 years ago

Maxwelljones commented 3 years ago

Amazing work on UMA guys! Thank you :)

When using HDRP, everything works fine with the HumanHD avatar until I try to use predefined DNA. Adjusting values in UMA Data (script) works fine, but trying to have it configured into Predefined DNA doesnt work.

Environment:

To Reproduce Steps to reproduce the behavior:

  1. Add UMA HDRP Character to scene (object/Dynamic Character Avatar)
  2. In Customization Add predefined DNA and change its value (like Height to quickly see it function)
  3. Hit Play

Expected behavior Expected DNA applied to the avatar. It seems the value is reset whenever I press play instead of applying it to the avatar. No error shown in the console. When changing individual value in play mode inside UMA Data (script), everything works fine though.

Screenshots When setting up: image After play has been pressed: image

Maxwelljones commented 3 years ago

For those who get the same problem, simply click "add DNA" to the HumanMaleHDBaseRecipe and HumanFemaleHDBaseRecipe. image Then it works like a charm ;)