Hello, everyone. First gj on Third Person Controller, it is a real time saver.
However I still have an issue to make it work with UMA properly. Generally character loads and if I change wardrobe during design time there is no problem. However when I do it in runtime character starts to become somewhat weird:
The code that is attached to the button is:
So nothing unusual here and also as you can see in the video another character in UMA works properly (same setup but there is no controller attached obviously).
I have done some debugging as much as I could and found that behaviour:
However I still have an issue to make it work with UMA properly. Generally character loads and if I change wardrobe during design time there is no problem. However when I do it in runtime character starts to become somewhat weird:
C#:
AvatarDefinition adf = AvatarDefinition.FromCompressedString(defRecipe);
Player.LoadAvatarDefinition(adf, true, true, true, true);
Player.BuildCharacter(false);
I have done some debugging as much as I could and found that behaviour:
- Disable Ultimate Character Locomotion script
- Press button to change race and wardrobe. Nothing unusual happens
- Reenable Ultimate Character Locomotion. Problem reappears once again.