Skip sound emitter with null audio asset ID

This commit is contained in:
2026-04-14 01:39:03 +02:00
parent 59b927e9ad
commit a18c536659

View File

@@ -885,6 +885,10 @@ function buildRuntimeControlSurface(
}
for (const soundEmitter of collections.entities.soundEmitters) {
if (soundEmitter.audioAssetId === null) {
continue;
}
targets.push(
createControlTargetDescriptor(
createSoundEmitterControlTargetRef(soundEmitter.entityId),