Version 2.1.5 of the Ultimate Character Controller is making its way to the Opsive Store and the Asset Store. This is the base version for the PUN Multiplayer Add-On. There are a few required changes with this update:

  • Unity 2017.4 or later is required.
  • Remove the Opsive/UltimateCharacterController folder before importing. This is extremely important because the file structure has changed.
  • CharacterLocomotion.DeltaYawRotation has been replaced with CharacterLocomotion.DeltaRotation. This allows the abilities to change more than just the yaw rotation.

This update contains the following:

  • First Person Transform Look will do a collision check when determining the position
  • Added a previous acceleration influence property for the amount that the previous acceleration direction influences the current direction
  • Camera Controller will not reset the view type variables if the character is not snapped into position
  • Spawn points can always spawn the character in the center of a sphere or box shape
  • Added the option to toggle the zoom when the button is down
  • State should be active if the blocking state is being blocked
  • Replaced CharacterLocomotion.DeltaYawRotation with CharacterLocomotion.DeltaRotation
  • Destructible can specify which object layers it sticks to
  • Added lean to the turn animations
  • Input movement can be framerate independent
  • StateManager can send the OnStateChange event
  • Improved RPG Movement/View Type smoothness
  • Fall ability will set the AbilityFloatData to the vertical velocity
  • Demo Manager can be subclassed
  • CharacterLayerManager SolidObjectLayers will include everything except a subset of layers by default
  • Crosshairs can detect objects on the same layer as the current character
  • Added ScriptableObject inspector icons
  • SpawnPointManager can prefer the first spawn point
  • Improved slide handling
  • Improved when the trajectory object settles to a final rotation
  • Collision detection improvements
  • Updated transitions to all run stop animations, updated run fall animations for smoother landing
  • The start audio clip will stop playing if it is still playing when the ability stops
  • Fixed demo scene from not correctly switching from the RPG to TopDown/2.5D type
  • Fixed the inventory from not having at least one slot
  • Fixed melee trail from going out of bounds
  • Fixed unity IK from not stepping correctly
  • Fixed AlignToGravity from not stopping when it should
  • Fixed endless schedulers from not cleaning up after themselves after the character leaves
  • Fixed the camera from not snapping when the character changes position
  • Fixed switching to crouch during idle weapon animations
  • Fixed First Person Transform Look from not setting the targets if no character is initialized with the view type
  • Fixed OnJumpAbilityRepeatedJump from not always unregistering
  • Fixed AOT Linker problems with IL2CPP on Windows with 2019.1
  • Fixed AnimatorAudioState serialization from not persisting
  • Fixed audio clip set inspector from not correctly adding/removing objects
  • Fixed ItemSetManager from incorrectly disabling a repeated state
  • Fixed trajectory object from being enabled when it shouldn’t be after being pooled
  • Fixed existing items from not being able to add new first or third person visible objects
  • Fixed angle from not clamping between an arbitrary range
  • Fixed third person from detecting objects between the camera look position and the character for the shootable weapon and crosshairs
  • Fixed execution order of setting the next item set index
  • Fixed the demo manager from not setting the perspective before assigning the character for multiplayer
  • Fixed overlay layer from colliding with objects when it shouldn’t
  • Fixed kinematic character controller exception when using the object pool and enabling/disabling the controller within the same frame
  • Fixed explosion from not ignoring itself when doing a line of sight check

The following integrations were updated:

  • A* Pathfinding Project
  • Behavior Designer
  • Dialogue System
  • Final IK
  • Playmaker
  • Quest Machine
  • UMA