Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
ronjart's avatar
ronjart
Explorer
2 years ago

Acoustics on device with Meta Audio SDK

Has anybody gotten acoustics to work with the latest Meta Audio SDK (v56.0) on device? I've followed the configuration guide carefully and things work on Windows in the editor, but in a build on Quest 2 or Quest pro, the reverb produces a crackling sound (just the reverb, not the spatialization). I've played with all kinds of setting, tuning gain, volume, room properties etc. and nothing seems to help.

Any help/pointers are appreciated.

2 Replies

Replies have been turned off for this discussion
  • Solved: The issue was related to having another audio source in the scene that was not using the meta spatializer component but was still running through the main acoustics mixer - removing that audio source solved the problem and acoustics are now working fine.

    • fallenPSteve's avatar
      fallenPSteve
      Explorer

      Hi, good work on getting this working. did you have any trouble with the acoustic map. I'm finding that I keep getting the following errors.

      Internal error: scene not mapped, status = 00000000
      UnityEngine.Debug:LogError (object)
      MetaXRAcousticMap:UpdateCachedPoints () (at ./Library/PackageCache/com.meta.xr.sdk.acoustics@ca6fbbd9a856/Runtime/scripts/MetaXRAcousticMap.cs:1206)
      MetaXRAcousticMap:get_PointCount () (at ./Library/PackageCache/com.meta.xr.sdk.acoustics@ca6fbbd9a856/Runtime/scripts/MetaXRAcousticMap.cs:1061)
      MetaXRAcousticMapEditor:DrawGizmos (MetaXRAcousticMap,UnityEditor.GizmoType) (at ./Library/PackageCache/com.meta.xr.sdk.acoustics@ca6fbbd9a856/editor/MetaXRAcousticMapEditor.cs:465)
      UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

      and 

       

      Error 2001: Unable to read the Acoustic Map.
      UnityEngine.Debug:LogError (object)
      MetaXRAcousticMap/<LoadMapFromMemory>d__73:MoveNext () (at ./Library/PackageCache/com.meta.xr.sdk.acoustics@ca6fbbd9a856/Runtime/scripts/MetaXRAcousticMap.cs:615)
      UnityEngine.UnitySynchronizationContext:ExecuteTasks ()