In the Sample of Avatar Creator (scene - AvatarCreatorWizard) when the avatar is loaded the skin and hair color are set to the 1st one:
This comes from the code in AssetButtonCreator, line 88.
But this is wrong as the 1st color is not the correct one. I have looked into the other item(Eye Color) to see how is it set, and saw that it is actually an asset that gets created at the beginning, and colors are not counted as assets.
How can we know the index of color and set it correctly?
Steps to reproduce the behavior:
Create Unity Project
Import RPM SDK, set the domain and API token and sample 'avatar creator',
run scene AvatarCreatorWizard
Create a new avatar from the template, and select the prelast avatar with green hair.
in the editor go to the hair style tab, and check the color - it is ~brown
Expected behavior
Green Color must be selected.
Desktop (please complete the following information):
In the Sample of Avatar Creator (scene - AvatarCreatorWizard) when the avatar is loaded the skin and hair color are set to the 1st one: This comes from the code in AssetButtonCreator, line 88.
But this is wrong as the 1st color is not the correct one. I have looked into the other item(Eye Color) to see how is it set, and saw that it is actually an asset that gets created at the beginning, and colors are not counted as assets. How can we know the index of color and set it correctly?
Steps to reproduce the behavior:
Expected behavior Green Color must be selected.
Desktop (please complete the following information):