Meta XR Core SDK 71.0.0 Import Bugs
Getting the following warnings and errors after updating from 69.0.2 -> 71.0.0 in Unity 6000.0.23f1
Library\PackageCache\com.meta.xr.sdk.core\Editor\OVRSceneVolumeEditor.cs(26,37): error CS0118: 'Editor' is a namespace but is used like a type
Library\PackageCache\com.meta.xr.sdk.core\Editor\OVRSceneAnchorEditor.cs(26,37): error CS0118: 'Editor' is a namespace but is used like a type
Library\PackageCache\com.meta.xr.sdk.core\Editor\OVRScenePlaneEditor.cs(27,36): error CS0118: 'Editor' is a namespace but is used like a type
Library\PackageCache\com.meta.xr.sdk.core\Editor\OVRSemanticClassificationEditor.cs(26,48): error CS0118: 'Editor' is a namespace but is used like a type
'Meta.XR.MultiplayerBlocks.Shared.IAvatarBehaviour' is missing the class attribute 'ExtensionOfNativeClass'!
UnityEditor.AssetDatabase:LoadAssetAtPath<Unity.Services.Deployment.Editor.DeploymentDefinitions.DeploymentDefinition> (string)
Unity.Services.Deployment.Editor.Shared.Assets.ObservableAssets`1<Unity.Services.Deployment.Editor.DeploymentDefinitions.DeploymentDefinition>:AllAssetsPostprocessed (object,Unity.Services.Deployment.Editor.Shared.Assets.PostProcessEventArgs) (at ./Library/PackageCache/com.unity.services.deployment/Editor/Shared/Assets/ObservableAssets.Gen.cs:66)
Unity.Services.Deployment.Editor.Shared.Assets.AssetPostprocessorProxy:OnPostprocessAllAssets (string[],string[],string[],string[],bool) (at ./Library/PackageCache/com.unity.services.deployment/Editor/Shared/Assets/AssetPostprocessorProxy.Gen.cs:24)
UnityEditor.AssetPostprocessingInternal:PostprocessAllAssets (string[],string[],string[],string[],string[],bool)
GameObject (named 'FusionAvatarSdk28Plus') references runtime script in scene file. Fixing!
UnityEditor.AssetDatabase:LoadAssetAtPath<Unity.Services.Deployment.Editor.DeploymentDefinitions.DeploymentDefinition> (string)
Unity.Services.Deployment.Editor.Shared.Assets.ObservableAssets`1<Unity.Services.Deployment.Editor.DeploymentDefinitions.DeploymentDefinition>:AllAssetsPostprocessed (object,Unity.Services.Deployment.Editor.Shared.Assets.PostProcessEventArgs) (at ./Library/PackageCache/com.unity.services.deployment/Editor/Shared/Assets/ObservableAssets.Gen.cs:66)
Unity.Services.Deployment.Editor.Shared.Assets.AssetPostprocessorProxy:OnPostprocessAllAssets (string[],string[],string[],string[],bool) (at ./Library/PackageCache/com.unity.services.deployment/Editor/Shared/Assets/AssetPostprocessorProxy.Gen.cs:24)
UnityEditor.AssetPostprocessingInternal:PostprocessAllAssets (string[],string[],string[],string[],string[],bool)
'Meta.XR.MultiplayerBlocks.Shared.IAvatarBehaviour' is missing the class attribute 'ExtensionOfNativeClass'!
UnityEditor.AssetDatabase:LoadAssetAtPath<Unity.Services.Deployment.Editor.DeploymentDefinitions.DeploymentDefinition> (string)
Unity.Services.Deployment.Editor.Shared.Assets.ObservableAssets`1<Unity.Services.Deployment.Editor.DeploymentDefinitions.DeploymentDefinition>:AllAssetsPostprocessed (object,Unity.Services.Deployment.Editor.Shared.Assets.PostProcessEventArgs) (at ./Library/PackageCache/com.unity.services.deployment/Editor/Shared/Assets/ObservableAssets.Gen.cs:66)
Unity.Services.Deployment.Editor.Shared.Assets.AssetPostprocessorProxy:OnPostprocessAllAssets (string[],string[],string[],string[],bool) (at ./Library/PackageCache/com.unity.services.deployment/Editor/Shared/Assets/AssetPostprocessorProxy.Gen.cs:24)
UnityEditor.AssetPostprocessingInternal:PostprocessAllAssets (string[],string[],string[],string[],string[],bool)
'Meta.XR.MultiplayerBlocks.Shared.IAvatarBehaviour' is missing the class attribute 'ExtensionOfNativeClass'!
UnityEditor.AssetDatabase:LoadAssetAtPath<Unity.Services.Deployment.Editor.DeploymentDefinitions.DeploymentDefinition> (string)
Unity.Services.Deployment.Editor.Shared.Assets.ObservableAssets`1<Unity.Services.Deployment.Editor.DeploymentDefinitions.DeploymentDefinition>:AllAssetsPostprocessed (object,Unity.Services.Deployment.Editor.Shared.Assets.PostProcessEventArgs) (at ./Library/PackageCache/com.unity.services.deployment/Editor/Shared/Assets/ObservableAssets.Gen.cs:66)
Unity.Services.Deployment.Editor.Shared.Assets.AssetPostprocessorProxy:OnPostprocessAllAssets (string[],string[],string[],string[],bool) (at ./Library/PackageCache/com.unity.services.deployment/Editor/Shared/Assets/AssetPostprocessorProxy.Gen.cs:24)
UnityEditor.AssetPostprocessingInternal:PostprocessAllAssets (string[],string[],string[],string[],string[],bool)
GameObject (named 'AvatarNGOSdk28Plus') references runtime script in scene file. Fixing!
UnityEditor.AssetDatabase:LoadAssetAtPath<Unity.Services.Deployment.Editor.DeploymentDefinitions.DeploymentDefinition> (string)
Unity.Services.Deployment.Editor.Shared.Assets.ObservableAssets`1<Unity.Services.Deployment.Editor.DeploymentDefinitions.DeploymentDefinition>:AllAssetsPostprocessed (object,Unity.Services.Deployment.Editor.Shared.Assets.PostProcessEventArgs) (at ./Library/PackageCache/com.unity.services.deployment/Editor/Shared/Assets/ObservableAssets.Gen.cs:66)
Unity.Services.Deployment.Editor.Shared.Assets.AssetPostprocessorProxy:OnPostprocessAllAssets (string[],string[],string[],string[],bool) (at ./Library/PackageCache/com.unity.services.deployment/Editor/Shared/Assets/AssetPostprocessorProxy.Gen.cs:24)
UnityEditor.AssetPostprocessingInternal:PostprocessAllAssets (string[],string[],string[],string[],string[],bool)
'Meta.XR.MultiplayerBlocks.Shared.IAvatarBehaviour' is missing the class attribute 'ExtensionOfNativeClass'!
UnityEditor.AssetDatabase:LoadAssetAtPath<Unity.Services.Deployment.Editor.DeploymentDefinitions.DeploymentDefinition> (string)
Unity.Services.Deployment.Editor.Shared.Assets.ObservableAssets`1<Unity.Services.Deployment.Editor.DeploymentDefinitions.DeploymentDefinition>:AllAssetsPostprocessed (object,Unity.Services.Deployment.Editor.Shared.Assets.PostProcessEventArgs) (at ./Library/PackageCache/com.unity.services.deployment/Editor/Shared/Assets/ObservableAssets.Gen.cs:66)
Unity.Services.Deployment.Editor.Shared.Assets.AssetPostprocessorProxy:OnPostprocessAllAssets (string[],string[],string[],string[],bool) (at ./Library/PackageCache/com.unity.services.deployment/Editor/Shared/Assets/AssetPostprocessorProxy.Gen.cs:24)
UnityEditor.AssetPostprocessingInternal:PostprocessAllAssets (string[],string[],string[],string[],string[],bool)
This appears to be a recent change to Unity's Addressables package. 2.3.7 introduces a new namespace called "Editor". Since our Core SDK references this assembly, this is now a name collision between the "UnityEditor.Editor" classname and the Addressable namespace called "Editor". See this thread for more details: https://discussions.unity.com/t/addressables-2-3-7-compile-error-editor-is-a-namespace-but-is-used-like-a-type/1578531
We can change the Core SDK to eliminate this name collision in future versions (that is, apply the same change you mentioned above), but for now you'll either have to modify the Core SDK as an embedded package, or use a different version of Unity's Addressables package.