Steps to reproduce:
- Create a new project using AR Mobile, Mixed Reality or VR template
- Observe the errors
Actual results:
Getting:
Library/PackageCache/com.unity.xr.interaction.toolkit@e986f3a5995f/Editor/Debugger/XRInteractableSnapVolumesTreeView.cs(386,28): error CS0619: 'EntityId.implicit operator EntityId(int)' is obsolete: 'EntityId will not be representable by an int in the future. This casting operator will be removed in a future version.'
Library/PackageCache/com.unity.xr.interaction.toolkit@e986f3a5995f/Editor/Debugger/XRInteractionDebuggerWindow.cs(372,24): error CS0619: 'Object.GetInstanceID()' is obsolete: 'GetInstanceID is deprecated. Use GetEntityId instead. This will be removed in a future version.'
Library/PackageCache/com.unity.xr.compositionlayers@d683872db661/Runtime/Emulation/SceneEmulatedProjectionRig.cs(46,38): error CS0619: 'Object.GetInstanceID()' is obsolete: 'GetInstanceID is deprecated. Use GetEntityId instead. This will be removed in a future version.'
Errors
Expected results:
Project is created without issues on AR Mobile, Mixed Reality or VR templates
Reproducible with versions:
6000.5.0b1 (c1f81ff5b082)
AR Mobile - 2.1.2
Mixed Reality - 2.2.2
VR - 9.2.2
Not reproducible with versions:
6000.5.0a9 (253a859729df)
AR Mobile - 2.1.2
Mixed Reality - 2.2.2
VR - 9.2.2
Tested on (OS):
MacOS Sequoia 15.7.4
Win 11
Notes: reproducible with High Definition 3D sample Template - 16.1.2 as well