Closed VergilUa closed 4 years ago
Assigning a pre-designed dynamic recipe to the Dynamic Character Avatar doesn't load the recipe, instead it loads the default race w/o any changes.
To Reproduce Steps to reproduce the behavior:
Expected behavior Custom recipe should be loaded instead.
Additional context This problem is caused by the BuildUsingComponentSettings property in the DynamicCharacterAvatar.
Instead of
bool BuildUsingComponentSettings { get { bool startRecipeEmpty = (loadString == "" && loadFilename == "" && umaRecipe == null); if (loadFileOnStart && !startRecipeEmpty) return false; else return true; } }
That should be:
bool BuildUsingComponentSettings { get { bool startRecipeEmpty = (loadString == "" && loadFilename == "" && umaRecipe == null); if (loadFileOnStart || !startRecipeEmpty) // OR instead of AND here return false; else return true; } }
Changing that line fixes the issue.
Pushed to latest release. Thanks.
Assigning a pre-designed dynamic recipe to the Dynamic Character Avatar doesn't load the recipe, instead it loads the default race w/o any changes.
To Reproduce Steps to reproduce the behavior:
Expected behavior Custom recipe should be loaded instead.
Additional context This problem is caused by the BuildUsingComponentSettings property in the DynamicCharacterAvatar.
Instead of
That should be:
Changing that line fixes the issue.