Forum Discussion
GamerReality
6 months agoStart Partner
Small problem with Meta XR SDK Audio script. Causing 5 non-compile errors after upgrade to Unity 6.1
I’m encountering five persistent errors related to Meta’s MetaXRAcousticSettingsEditor.cs script after upgrading to Unity 6.1 and Meta’s latest V74 SDK.
In my screenshot, I’ve included:
The installed Meta XR All-In-One SDK
My Meta XR Settings in Preferences
The five specific errors
Background: Previously, my project ran on Unity 2023.2 with V64 SDK, primarily as an OpenXR project. We initially had only one Meta package, which we weren’t using actively. Last week, we installed additional Meta XR packages, now fully compatible with OpenXR, as we aim to integrate new camera and input features into our multiplayer game.
Issue: My lead programmer successfully upgraded everything, but strangely, he doesn’t encounter these errors—his setup runs without issues.
We’ve triple-checked his committed changes.
I’ve deleted and re-downloaded the project to ensure I’m working with the exact same version.
Despite these steps, the errors persist only on my end. I would appreciate any insight into why this is happening and how to resolve it.
Errors:
Library\PackageCache\com.meta.xr.sdk.audio@7e2b9330d0db\editor\MetaXRAcousticSettingsEditor.cs(59,73): error CS0117: 'AssemblyBuilderAccess' does not contain a definition for 'RunAndSave' Library\PackageCache\com.meta.xr.sdk.audio@7e2b9330d0db\editor\MetaXRAcousticSettingsEditor.cs(58,92): error CS1061: 'AppDomain' does not contain a definition for 'DefineDynamicAssembly' and no accessible extension method 'DefineDynamicAssembly' accepting a first argument of type 'AppDomain' could be found (are you missing a using directive or an assembly reference?) Library\PackageCache\com.meta.xr.sdk.audio@7e2b9330d0db\editor\MetaXRAcousticSettingsEditor.cs(61,62): error CS1501: No overload for method 'DefineDynamicModule' takes 2 arguments Library\PackageCache\com.meta.xr.sdk.audio@7e2b9330d0db\editor\MetaXRAcousticSettingsEditor.cs(69,34): error CS1061: 'EnumBuilder' does not contain a definition for 'CreateType' and no accessible extension method 'CreateType' accepting a first argument of type 'EnumBuilder' could be found (are you missing a using directive or an assembly reference?) Library\PackageCache\com.meta.xr.sdk.audio@7e2b9330d0db\editor\MetaXRAcousticSettingsEditor.cs(70,20): error CS1061: 'AssemblyBuilder' does not contain a definition for 'Save' and no accessible extension method 'Save' accepting a first argument of type 'AssemblyBuilder' could be found (are you missing a using directive or an assembly reference?)
If anyone has experienced a similar issue or has suggestions for troubleshooting, I’d greatly appreciate the help!
1 Reply
Replies have been turned off for this discussion
- rg001Honored Guest
The build errors stem from outdated reflection code in the Meta Audio package that's incompatible with .NET 6. If you're pulling in "com.meta.xr.sdk.all" - then you'll need to replace that with pulling just the packages you need, but exclude the audio.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 4 months ago
- 9 months ago
- 8 months ago
- 8 months ago