Skip sound emitter with null audio asset ID
This commit is contained in:
@@ -885,6 +885,10 @@ function buildRuntimeControlSurface(
|
||||
}
|
||||
|
||||
for (const soundEmitter of collections.entities.soundEmitters) {
|
||||
if (soundEmitter.audioAssetId === null) {
|
||||
continue;
|
||||
}
|
||||
|
||||
targets.push(
|
||||
createControlTargetDescriptor(
|
||||
createSoundEmitterControlTargetRef(soundEmitter.entityId),
|
||||
|
||||
Reference in New Issue
Block a user