Connect Dialogue System conversations to Ultimate Character Controller (UCC) Version 3 interaction, input, equipment, and camera control. Dialogue System owns the conversation; UCC owns the playable character and resumes control when it ends.

Install the bridge

Start with a working UCC character, camera, and Interact ability, plus a small Dialogue System conversation that works independently. Back up the project and obtain the matching bridge from Opsive Downloads, then use Tools > Opsive > Ultimate Character Controller > Integrations Manager > Dialogue System for Unity > Integration. Compile before configuring the scene. The inspected bridge declares no semantic Dialogue System version range; retest after either product changes.

Add Dialogue Manager from Plugins > Pixel Crushers > Dialogue System > Prefabs, then assign the dialogue database and UI. The bridge includes Converse, Dialogue System Trigger Interactable Target, UCC Saver, and UCC DS Example. This workflow covers the UCC Version 3 bridge, rather than the older UFPS/UTPS integrations.

Configure the player

Add Converse to Ultimate Character Locomotion > Abilities. Keep Start Type and Stop Type Manual: conversation events control this passive ability. Keep Allow Positional Input and Allow Rotational Input disabled. Under General > Allow Equipped Items, clear slots that should be holstered, normally Slot 0 and Slot 1 for a two-slot character.

Converse field Default Purpose
Hide UI Enabled Hide UCC gameplay UI during dialogue.
Disable Gameplay Input Enabled Pause gameplay input, then restore it after dialogue.
Detach Camera Enabled Release the UCC camera for conversation framing.

With Detach Camera enabled, assign a dedicated Dialogue Manager > Display Settings > Camera & Cutscene Settings > Sequencer Camera. Disable detachment to retain the gameplay view. Keep one camera owner. The stock bridge finds the first active UCC Camera Controller; use project-owned per-player resolution for split screen or multiple cameras.

Input state and UIS menus

Add a Conversing state to the actual player-input component to expose the cursor and restrict gameplay controls. Legacy Unity Input can use ConversingUnityInputPreset; other providers need equivalent settings on their own components. See Input.

Use one conversing state for the initial setup. If using separate device states through Conversing State Names > Conversing State Hide Cursor, record the state activated at conversation start and clear it at the end, or explicitly clear both configured states. Verify a mouse-to-gamepad switch within one conversation.

With UIS, add UIS to Edit > Project Settings > Player > Other Settings > Scripting Define Symbols. Add UCC Menu Utility and Dialogue System Events to the player. Wire On Conversation Start () to On Open Menu and On Conversation End () to On Close Menu. Ending dialogue while another UIS menu remains open should leave gameplay input disabled until that menu closes.

Configure the NPC interaction

  1. Add Dialogue System Trigger Interactable Target to the conversation object. Set Trigger > On Use, then configure the conversation action and actors.
  2. Add UCC Interactable to the detected object and assign the integration target in Targets. Keep one trigger route for this interaction; the integration target already invokes On Use.
  3. On the player’s Interact ability, configure Object Detection, Detect Layers, and Cast Distance. Set Ability Message Text to Talk to {0} to insert the target Dialogue Actor’s name.

For a UCC NPC, place Interactable on the collider object the player detects, normally Colliders > CapsuleCollider. Root and child tags may differ, so verify the actual collider rather than assuming the root’s tag applies to it.

Interact starts the conversation; Converse responds to its start/end events. Input restoration is briefly delayed to allow consecutive conversations to hand off smoothly.

Save character data and checkpoints

Add UCC Saver to the character root. Enable Save Perspective, Save Mouse Settings, Save Position, and Save Attributes as needed. Keep Save Inventory disabled and use the project’s chosen inventory persistence system. Persist custom abilities and item state through their owning systems. With UIS, follow the inventory integration and keep one inventory save owner.

Tag the intended player root Player for the default player lookup and scene spawn placement. Establish the desired cursor policy after loading, including the legacy input component’s Disable Cursor setting, and verify it even with mouse-settings saving disabled.

For checkpoint respawning, replace Character Respawner with Checkpoint Character Respawner. Set Checkpoint Save Slot to the game’s save slot; its default is 1. Without a saved game in that slot, normal UCC respawning applies. Test character categories independently from Dialogue System’s dialogue, quest, and variable saves.

Lua and sequencer extensions

Add Ultimate Character Controller Lua to Dialogue Manager for attribute reads/writes, item counts/removal, unequipping, and equip notifications: uccGetAttribute, uccSetAttribute, uccGetItemCount, uccRemoveItem, uccUnequipItem, and uccNotifyOnEquip. Use project-owned actions calling the supported inventory API for item grants and equip operations.

A blank character name resolves the Player-tagged character. Append .CollectionName for a nondefault collection, such as Vendor.SpecialStock or .Backpack. Removal can change ammunition/count-only quantities; it does not edit a weapon’s loaded clip directly. Unequipping resolves the matching active slot without depending on Auto Equip flags.

The sequencer command uccLookAt(target, subject, duration, allAxes) defaults to listener target and speaker subject. Duration is optional; omitting allAxes keeps the subject upright. It temporarily disables the subject’s locomotion while rotating, so schedule other movement outside that command. See Pixel Crushers’ UCC manual for its dialogue-side integration.

Verify the conversation

Approach the NPC: the prompt should show the actor’s name. Press Action once and confirm exactly one conversation starts. Check movement, look, items, UI, cursor, and the selected camera. End dialogue and confirm restoration to the same character, then start another conversation immediately and check that gameplay input stays paused between them.

Repeat with a device switch during dialogue, an overlapping UIS menu, scene loading, and checkpoint respawn. Save/load each supported character category and verify cursor policy. Multiplayer projects must additionally supply per-player input/menu/camera/save ownership and quest replication; rejecting non-local interaction alone does not provide those systems.

For missing prompts, inspect the detected collider/layer and Targets. For a prompt without dialogue, inspect On Use, conversation, and actor assignments. Duplicate dialogue indicates competing trigger routes. For a failed return to gameplay, inspect conversation-end events, active menus, conversing-state cleanup, and camera ownership before changing the underlying character setup.