Bad values
- An invalid mod id throws an error. The mod id must be 1 to 64 characters of letters, digits,
.,_or-. The error is anArgumentException. - A
nullclip throws anArgumentNullExceptionnamedclip. - A legacy clip throws an
ArgumentExceptionnamedclip. A legacy clip is one made for Unity’s old animation system. (It is a clip whereAnimationClip.legacyis true.) - A fade that is below 0, not a number, or infinite throws an
ArgumentExceptionnamedfadeSeconds. - Anything else the game refuses gives
falseand does not throw. The first failure of each call is logged as an error.