Loading...
Creature AI and Behavior Trees - Version 1 vs Version 2
Mar 2, 2026, 08:40 PM
New article covering the UE5 creature AI system with confirmed details from Dev Vlog 3 and Krafton press materials
Mar 16, 2026, 03:16 AM
Add wikilinks to table cells (3 new links)
11Creature AI and Behavior Trees2233Creature 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. This represents a major advancement over the original Subnautica, where creatures used simpler patrol routes and proximity-based aggression. The system was detailed in Dev Vlog 3 (September 16, 2025), which focused on the Collector Leviathan as a showcase for the new AI architecture.4455How it works6677The AI system has two core components:889+910ComponentFunctionBehavior 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.1011Together, 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.11121213Dual utility reasoning13141415The 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.15161617This 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.17181819Stimulus categories19202021The stimulus system processes several categories of environmental input:212223+2224StimulusEffect 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.2325The Collector Leviathan as showcase24262527The 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."26282729The 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.28302931Comparison to previous games30323133AspectOriginal SubnauticaSubnautica 2Decision systemProximity-based aggro with fixed patrol routesUE5 behavior trees with dual utility reasoningEnvironmental awarenessLimited; creatures reacted mainly to distanceFull stimulus system: light, sound, movement, player actionsPredictabilityHigh; creatures followed the same patterns every timeLow; creatures re-evaluate in real time based on full environmental contextKillabilityLeviathans could technically be killed with enough stab damageLeviathans are mechanically invincibleEvasion toolsStasis Rifle to freeze creatures; knife for damageFlares for distraction; quiet movement; darkness; no weapons34+3235Multiplayer synchronization33363437In 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.35383639Design philosophy37403841The 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.39424043Development team41444245Team 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.