UMA - Load TextRecipe

Options
Hello!

I have anothe problem. I create the prefab, load the character change the DNA and save this character recipe to a string. Thats forks fine.
After i try to load the recipe:
Code (CSharp):
UMATextRecipe asset = ScriptableObject.CreateInstance();
asset.recipeString = recipe;
PlayerObj.GetComponent().Load(asset);
then i got his message:

"With a DynamicCharacterAvatar you do not call Load directly. If you want to load an UMATextRecipe directly call ImportSettings(yourUMATextRecipe)"

how i can load the recipe to the character?

Comments

  • Hi @MateAndor,

    this doesn't seem to be a PUN related issue so I'm not sure, if anyone here can help you with that problem. Did you try the step the error message provides you?

    If I have missed the relation to PUN please let me know.