I created a new MovementType (that worked well in 2.2.0). And now with 2.2.1, if i create a new Character I get this Error:
ArgumentNullException: Value cannot be null.
Parameter name: type
at Assets/Opsive/UltimateCharacterController/Scripts/Utility/Builders/CharacterBuilder.cs:329
I added some debug and it looks like the "System.Type.GetType" wont find my MovementType?
Debug.Log(movementType);
Output: "MyMovementType"
var type = System.Type.GetType(movementType);
Debug.Log(type);
Output: "null"
Unity Version: 2019.3
How can i fix that?
EDIT:
The Error was not related to this Version, i moved my Scripts into a new folder for better overview of what i have changed. When i move the "MyMomentType.cs" back into the folder with the other MovementTypes it works. With the MyViewType in another Folder i have no problems.
ArgumentNullException: Value cannot be null.
Parameter name: type
at Assets/Opsive/UltimateCharacterController/Scripts/Utility/Builders/CharacterBuilder.cs:329
I added some debug and it looks like the "System.Type.GetType" wont find my MovementType?
Debug.Log(movementType);
Output: "MyMovementType"
var type = System.Type.GetType(movementType);
Debug.Log(type);
Output: "null"
Unity Version: 2019.3
How can i fix that?
EDIT:
The Error was not related to this Version, i moved my Scripts into a new folder for better overview of what i have changed. When i move the "MyMomentType.cs" back into the folder with the other MovementTypes it works. With the MyViewType in another Folder i have no problems.
Last edited: