08-23-2024 07:07 PM
08-23-2024 05:01 PM
Can I get any samples for Unity that use the Acoustic Ray Tracing in Meta XR Audio SDK? There doesn't seem like anything even in the latest SDK version 68, which was released on Aug 21, 2024. I need examples that really work, because my test project doesn't make any sound when I switch to Acoustic Ray Tracing mode.
Friday
I have the exact same problem, did you manage to solve it?
Friday
Hi everyone,
I came across these two threads that describe exactly the same problem I'm currently facing with the Meta XR Acoustic Ray Tracing system:
In short:
I have a properly configured scene with MetaXRAcousticGeometry, MetaXRAcousticMaterial, and a valid MeshCollider.
The geometry is being loaded (confirmed in the console), and the acoustic rays appear to be active.
However, there is either no audible reverb, or the sound becomes extremely quiet when geometry is enabled.
Once I remove the geometry, the audio becomes louder again — but of course, spatial acoustic effects are lost.
I've already verified:
MetaXRAudioSource is enabled with Gain = 1.0 and ReverbSendLevel = 1.0
The mesh is valid (not empty, and vertex count > 0)
Spatialization is enabled, and the listener is positioned correctly
Tried both with and without MetaXRAudioRoom
My question is:
Has anyone in the community — or from Meta — found any working solution or explanation for this behavior in the past year?
Any updated guidance, examples, or even diagnostic tips would be greatly appreciated.
Thanks in advance!
Friday
No, I couldn't figure out what was wrong with my application above. However, I could successfully use the Acoustic Ray Tracing with another application.
Friday
What do you mean with another application? You replace unity or the sdk?
Friday
Just FYI I've merged your report into the other ones so we can consolidate all the data into one place! Thanks for letting us know about this.
Friday
No, I used the same version of Unity and Meta XR Audio SDK to add spatialize audio in another application (game).
2 hours ago
The problem is that I’ve tried it several times already, but it has never worked, even though I built the project from scratch. Could you maybe send me an example or sample or specify a version that you used?