Loading...
Creature AI and Behavior Trees - Version 9 vs Version 10
Jun 8, 2026, 11:34 PM
Removed duplicate in-body wikilinks
Jul 22, 2026, 02:39 AM
Corrected wikilink existence flags
11Creature AI in Subnautica 2 uses Unreal Engine 5 behavior trees combined with a custom stimulus system that makes creatures react to light, sound, and player actions in real time. The system was detailed in Dev Vlog 3 (September 16, 2025), which focused on the Collector Leviathan as a show for the new AI architecture.2233How it Works4455The AI system has two core components:667788ComponentFunctionBehavior treesUE5's native behavior tree system provides the decision-making structure. Creatures evaluate their environment and choose actions based on hierarchical conditions rather than scripted sequences.Stimulus systemA custom layer built on top of behavior trees that feeds environmental data (light levels, sound, player proximity, movement speed) into the creature's decision process. This makes creatures react to what is actually happening around them rather than following preset patterns.99Together, these systems create creatures that "constantly re-evaluate the situation in real time," as AI Gameplay Lead Engineer Antonio Munoz Gallego described it. A creature's response to the player depends on the current environmental context: the same creature may react differently in bright vs. dark conditions, in calm vs. stormy weather, or when distracted by other stimuli like flares.10101111Dual Utility Reasoning12121313The Collector Leviathan's AI uses a design pattern called dual utility reasoning. Rather than having a single aggression trigger ("player enters range, creature attacks"), the creature continuously weighs multiple stimuli against each other. When a player throws a flare, the Collector evaluates the flare's light stimulus against the player's presence, sound, and movement. The flare may draw attention temporarily, but if the player makes noise or gets closer, the creature re-evaluates and may shift focus back.14141515This creates dynamic, unpredictable encounters. The same evasion strategy does not work identically every time because the creature's decision depends on the full environmental context, not just a single input.16161717Stimulus Categories18181919The stimulus system processes several categories of environmental input:202021212222StimulusEffect on CreaturesLightCreatures react to light sources including player flashlights, vehicle headlights, flares, and bioluminescence. Light can attract attention or serve as a distraction depending on the creature's current behavioral state.SoundMovement generates noise; faster swimming produces more sound. Creature awareness scales with the noise the player makes. Quiet swimming is a confirmed evasion strategy.Player actionsThe AI tracks what the player is doing: scanning, using tools, piloting a vehicle, or swimming freely. Different actions may trigger different creature responses.ProximityDistance still matters, but it is one factor among many rather than the sole aggression trigger. A distant, noisy player may draw more attention than a nearby, silent one.2323The Collector Leviathan as show24242525The Collector Leviathan is the most detailed public example of the AI system. Its internal design brief describes it as "intelligent but easily irritable" with "a strong dislike for players, tadpoles, tridents, and anything it does not recognize." Munoz Gallego stated: "The Collector Leviathan is not just a monster that blindly attacks players. It is an intelligent and highly threatening deep-sea lifeform that actively reacts to player behaviour and pursues them."26262727The Collector's four tentacles use UE5's Control Rig system for fully simulated physics. Senior Technical Animator Stefaan Sorensen engineered the tentacle movement to have realistic weight and fluid resistance rather than using canned animation. Combined with the behavior tree AI, the tentacles create chaotic, unpredictable interactions when the Collector grabs at players or vehicles.28282929Multiplayer synchronization30303131In co-op sessions, creature AI behavior must synchronize across all connected clients. When the Collector Leviathan reacts to one player's flare, all other players need to see the same creature doing the same thing at the same time. The Dev Vlog 5 team (including Lead Engineer Jon Bjarnason and Lead Gameplay Engineer Adrian Lopez-Mobilia) worked on ensuring creature physics and AI states remain consistent across the peer-to-peer network.32323333Design Philosophy34343535The AI system is inseparable from the no-weapons philosophy. Because players cannot kill creatures, the AI must create encounters that feel dangerous and tense through behavioral threat rather than damage output. Design Lead Anthony Gallegos stated: "We don't want you killing predators, straight up. Interact with them. Run from them." The stimulus-based AI enables this: creatures are scary because they are smart, reactive, and unpredictable, not because they have high hit points.36363737Development Team38383939Team MemberRoleContributionAntonio Munoz GallegoAI Gameplay Lead EngineerDesigned the behavior tree and stimulus system architecture.Stefaan SorensenSenior Technical AnimatorEngineered the Collector Leviathan's tentacle physics using UE5 Control Rig.Laura NedalVFX ArtistCreated particle effects that convey gameplay mechanics visually (shockwaves, creature glow).Louis KarimGame DesignerContributed to creature encounter design.Cory StraderVisual Development LeadDirected the creature's visual design including the split-body glow motif.