🔊How to set up sound
Audio in the scene is a file, then a Sound Node. Import a clip under assets/sounds/. Add a Sound Node (ENGINE.SoundNode). Point a sound resource on that node at the file with a fully qualified path: @project/assets/sounds/....
That is the same pattern as VFX: the file is not in the world until a node plays it. See How to set up VFX.
Pickups can play a clip without a Sound Node. Set pickupSoundUrl (and optional pickupVolume, pickupMaxDistance) on the pickup. See Doors, switches, pickups and triggers.
Keep logical extensions in paths (for example .wav). The Asset Compiler can compress audio for Play (engine remap example: WAV → OGG). Do not retarget those paths by hand.
File vs Sound Node
Audio file
A clip on disk (assets/sounds/)
Import into the Asset panel
Sound resource on the node
Name, audioPath, volume, spatial falloff
Entries on the Sound Node (sounds)
Sound Node
Scene node that loads and plays those clips
Outliner plus → Component → Sound Node
positional off — the clip is global (UI, music bed on a node).
positional on — the clip is 3D. Place or parent the node; refDistance, maxDistance, distanceModel, and rolloffFactor on the resource control falloff.
loop — repeat.
autoPlay — play when Play mode starts (beginPlay). Uses the first resource, or autoPlayClipKey if that name exists.
bus — defaults to SFX.
Music, voice-over, and pooled combat one-shots in a large game often run from TypeScript against @project/assets/sounds/... instead of many Sound Nodes. That is a code catalog, not this placement workflow.
Autoplay or play from code
Turn loop on for a repeating bed. Turn autoPlay on to start in Play mode.
To start a clip from gameplay, find the node and call play with the resource name:
const sound = this.getNode(ENGINE.SoundNode);
await sound?.play('your-clip-key');The browser may keep the audio context suspended until the player clicks or taps. Play after that interaction if a clip is silent on first load.
Common mistakes
Imported a file and heard nothing
Add a Sound Node and set audioPath. The file is not a scene object.
Expected a pickup to use the Sound Node
Pickups use pickupSoundUrl on the pickup.
3D clip plays at full volume everywhere
Turn positional on and set maxDistance / refDistance.
Path points at a baked .ogg after compile
Keep the logical source path (.wav or whatever you imported).
Changed the .genesys-scene to add audio
Place the node in the editor, or ask the agent through Sandbox Studio MCP.
What You've Done
You can import a clip, attach it to a Sound Node, play it globally or in 3D, and autoplay in Play mode. Next: How to set up VFX for the same file-then-node pattern, or How to Set Up a Prefab if the sound should travel with a mesh.
Last updated
Was this helpful?

