ue-actor-component-arc…
Use when writing or debugging AActor and UActorComponent C++: constructor vs BeginPlay, PostInitializeComponents, EndPlay…
Use when playing, mixing or debugging sound in Unreal Engine — one-shot SFX, looping ambience, music, dialogue or procedural audio. Also use when the user mentions 'UAudioComponent', 'PlaySoundAtLocation', 'SpawnSoundAttached', 'SoundCue', 'MetaSound', 'UMetaSoundSource',
Claude Code
$ npx -y skills add quodsoler/unreal-engine-skills --skill ue-audio-system --agent claude-code
Codex
$ npx skills add quodsoler/unreal-engine-skills --skill ue-audio-system -a codex -y
Cursor
$ npx skills add quodsoler/unreal-engine-skills --skill ue-audio-system -a cursor -y
Gemini CLI
$ npx skills add quodsoler/unreal-engine-skills --skill ue-audio-system -a gemini-cli -y
GitHub Copilot
$ npx skills add quodsoler/unreal-engine-skills --skill ue-audio-system -a github-copilot -y
OpenCode
$ npx skills add quodsoler/unreal-engine-skills --skill ue-audio-system -a opencode -y
Windsurf
$ npx skills add quodsoler/unreal-engine-skills --skill ue-audio-system -a windsurf -y
name: ue-audio-system description: "Use when playing, mixing or debugging sound in Unreal Engine — one-shot SFX, looping ambience, music, dialogue or procedural audio. Also use when the user mentions 'UAudioComponent', 'PlaySoundAtLocation', 'SpawnSoundAttached', 'SoundCue', 'MetaSound', 'UMetaSoundSource', 'SetFloatParameter', 'sound attenuation', 'spatialization', 'occlusion', 'sound concurrency', 'submix', 'audio bus', 'sound mix', 'SetSubmixOutputVolume', 'reverb', 'Quartz', 'audio modulation' or 'subtitles'. For VFX timing, see ue-niagara-effects; for anim-notify sounds, see ue-animation-system; for component lifetime and attachment, see ue-actor-component-architecture." metadata: version: "2.0.0" engine: "5.8"
Target engine: **UE 5.8**. APIs below are verified against the 5.8 headers; older forms are listed under "Deprecated — do not use".
Covers sound assets, playback from C++, attenuation, concurrency, sound classes and mixes, submix/bus routing, MetaSounds, modulation, Quartz and analysis. Engine-side code lives in `Engine/Classes/Sound` and `Components/AudioComponent.h` (module `Engine`), the mixer in `AudioMixer`, and the parameter interface in `AudioExtensions`. Plugin modules: `MetasoundEngine` / `MetasoundFrontend` (MetaSounds), `AudioModulation`, `AudioSynesthesia` (Beta in 5.8), `SubtitlesAndClosedCaptions` (Beta in 5.8).
// MyGame.Build.cs
PublicDependencyModuleNames.AddRange(new string[] { "Engine", "AudioMixer", "AudioExtensions" });
PrivateDependencyModuleNames.AddRange(new string[] { "MetasoundEngine", "MetasoundFrontend", "AudioModulation" });Read `.agents/ue-project-context.md` if it exists (module names, conventions, enabled plugins, GAS/networking setup). Do not stop if it is missing.
Identify the area from the request and the codebase. Ask only when two plausible readings would produce different code.
| Request is about… | Go to | |---|---| | Which asset type to author (wave, cue, MetaSound), streaming | [Sound Assets](#sound-assets) | | Firing a sound from gameplay code | [Playing Sounds](#playing-sounds) | | Fades, pause, volume/pitch, finish callbacks, per-instance sends | [UAudioComponent Control](#uaudiocomponent-control) | | Falloff, 3D panning, HRTF, occlusion, reverb send, focus | [Attenuation and Spatialization](#attenuation-and-spatialization) | | Too many voices, footsteps/gunshots stacking, voice stealing | [Concurrency](#concurrency) | | Volume sliders by category, ducking, context mixes | [Sound Classes and Sound Mixes](#sound-classes-and-sound-mixes) | | Routing groups, master volume, audio buses, sidechain sources | [Submixes, Buses and Sends](#submixes-buses-and-sends) | | Reverb, EQ, compression on a group of sounds | [Submix Effects](#submix-effects) | | Procedural/adaptive audio, runtime parameters, graph building | [MetaSounds](#metasounds) | | Continuous parameter control from gameplay curves/LFOs | [Modulation](#modulation) | | Beat-synced stingers, tempo, musical quantization | [Quartz Music Sync](#quartz-music-sync) | | Reacting to audio (FFT, envelope, offline beat maps) | [Analysis](#analysis) | | Captions, dialogue text | [Subtitles](#subtitles) | | Mobile voice budgets, dedicated servers, backgrounding, VR | [Platform Notes](#platform-notes) | | Full worked systems (music manager, ambience, weapon audio) | [audio setup patterns](references/audio-setup-patterns.md) |
USoundBase // abstract base (Sound/SoundBase.h) ├── USoundWave // imported PCM/compressed asset (Sound/SoundWave.h) │ └── USoundSourceBus // sonifies a UAudioBus (Sound/SoundSourceBus.h) ├── USoundCue // node graph (Sound/SoundCue.h) └── UMetaSoundSource // procedural graph, derives USoundWaveProcedural
Key `USoundBase` fields set on every asset: `SoundClassObject`, `AttenuationSettings`, `ConcurrencySet` (or `ConcurrencyOverrides` with `bOverrideConcurrency`), `Priority` (higher survives voice culling), `SoundSubmixObject`, `SoundSubmixSends`, `BusSends` / `PreEffectBusSends` / `PostAttenuationBusSends`, `VirtualizationMode`.
`USoundCue` nodes: `USoundNodeRandom`, `USoundNodeModulator`, `USoundNodeMixer`, `USoundNodeAttenuation`, `USoundNodeLooping`, `USoundNodeDelay`, `USoundNodeDistanceCrossFade`, `USoundNodeConcatenator`, `USoundNodeSwitch`, `USoundNodeWavePlayer`. `USoundWave::LoadingBehavior` (`ESoundWaveLoadingBehavior`, `Sound/SoundWaveLoadingBehavior.h`): `Inherited`, `RetainOnLoad`, `PrimeOnLoad`, `LoadOnDemand`, `ForceInline`. Use `ForceInline` for short SFX, `LoadOnDemand` for long music so minutes of audio never sit resident. Read it with `GetLoadingBehavior(bCheckSoundClasses)`; override at runtime with `OverrideLoadingBehavior(ESoundWaveLoadingBehavior::LoadOnDemand)`.
| Criterion | `USoundCue` | `UMetaSoundSource` | |---|---|---| | Runtime parameters | Wave params only | Typed inputs (float, bool, int32, string, object, trigger) | | Procedural DSP | No | Yes (oscillators, noise, filters) | | Built at runtime from C++ | No | Yes — `UMetaSoundBuilderSubsystem` | | Use for | Randomized pre-authored one-shots | Adaptive music, state-driven and synthesized SFX |
All functions are `UGameplayStatics` statics in `Kismet/GameplayStatics.h`. Never call them on a dedicated server.
#include "Kismet/GameplayStatics.h" // + Components/SkeletalMeshComponent.h for GetMesh() below // PlaySound2D(WorldContext, Sound, Volume=1, Pitch=1, StartTime=0, // Concurrency=nullptr, OwningActor=nullptr, bIsUISound=true) — UI, music; no handle UGameplayStatics::PlaySound2D(this, MenuSelectSound, 1.0f, 1.0f, 0.0f, nullptr, nullptr, true); // PlaySoundAtLocation(WorldContext, Sound, Location, Rotation, Volume=1, Pitch=1, StartTime=0, // Attenuation=nullptr, Concurrency=nullptr, OwningActor=nullptr, InitialParams=nullptr) UGameplayStatics::PlaySoundAtLocation(this, GunS
A collection of 31 AI agent skills for Unreal Engine C++ development. Built for game developers who want AI coding agents to help write correct, production-quality UE5 C++ code.
Use when writing or debugging AActor and UActorComponent C++: constructor vs BeginPlay, PostInitializeComponents, EndPlay…
Use when writing Unreal Engine C++ AI — AI controllers, behavior tree nodes, blackboards, AI perception, navmesh pathfinding, EQS…
Use when writing or debugging Unreal Engine animation C++: AnimInstance subclasses, thread-safe update, FAnimInstanceProxy,…
Use when offloading work off the game thread, dispatching results back to it, running data-parallel loops, or scheduling timers…
Use when exposing C++ to Blueprint or calling Blueprint from C++: UFUNCTION(BlueprintCallable), BlueprintPure,…
Use when writing or debugging UCharacterMovementComponent code: custom movement modes, floor detection, jumping, crouching, root…
Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid…
Design and build AI agents for any domain. Use when users: (1) ask to "create an agent", "build an assistant", or "design an AI…