Forum Discussion

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

Meta XR Audio in Unity. problem with baking

Hi,

I'm working with the Meta XR Audio plugin for Unity v69 and everytime I start baking acoustics for the current scene following exception occurs. Is there any workaround? Is the baking process finished before the exceptions is thrown?:

System.NullReferenceException: Object reference not set to an instance of an object
at MetaXRAcousticSerializationManager.BakeAcousticsForScene (UnityEngine.SceneManagement.Scene scene, System.Collections.Generic.HashSet`1[T] sceneGroups, System.Collections.Generic.HashSet`1[T] geoPaths, System.Collections.Generic.HashSet`1[T] mapPaths, System.Action OnStart, System.Action OnFinish) [0x00174] in .\Library\PackageCache\com.meta.xr.sdk.audio@69.0.0\editor\MetaXRAcousticSerializationManager.cs:266
at MetaXRAcousticSerializationManager.BakeCurrentScene () [0x00001] in .\Library\PackageCache\com.meta.xr.sdk.audio@69.0.0\editor\MetaXRAcousticSerializationManager.cs:51
at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in <787acc3c9a4c471ba7d971300105af24>:0