From a18c53665998f4372455eeb7d52cc70b1766832c Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Tue, 14 Apr 2026 01:39:03 +0200 Subject: [PATCH] Skip sound emitter with null audio asset ID --- src/runtime-three/runtime-scene-build.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/runtime-three/runtime-scene-build.ts b/src/runtime-three/runtime-scene-build.ts index 1fe030c3..a7087f18 100644 --- a/src/runtime-three/runtime-scene-build.ts +++ b/src/runtime-three/runtime-scene-build.ts @@ -885,6 +885,10 @@ function buildRuntimeControlSurface( } for (const soundEmitter of collections.entities.soundEmitters) { + if (soundEmitter.audioAssetId === null) { + continue; + } + targets.push( createControlTargetDescriptor( createSoundEmitterControlTargetRef(soundEmitter.entityId),