Search Issue Tracker
Active
Votes
0
Found in
2.2.2
Issue ID
UUM-137448
Regression
Yes
Getting 'Object.GetInstanceID()' is obsolete errors when creating a new project with specific templates
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment