- Home /
Character customization demo - Changing the item names
So I got my character working in the Unity's character customization demo with the same exact naming. When I try to name something differently or add another category I get the error:
KeyNotFoundException: The given key was not present in the dictionary. System.Collections.Generic.Dictionary`2[System.String,System.Collections.Generic.List`1[CharacterElement]].get_Item (System.String key) CharacterGenerator.ChangeElement (System.String catagory, Boolean next) (at Assets/Plugins/CharacterGenerator.cs:155) Main.ChangeElement (System.String catagory, Boolean next, System.String anim) (at Assets/DressingroomExample/Main.cs:174) Main.AddCategory (System.String category, System.String displayName, System.String anim) (at Assets/DressingroomExample/Main.cs:160)
How can I fix this? I've changed the name in the modelling program, changed the texture names, updated the character element database. What am I missing? Thanks for the help