Skip to main content
New Participant
June 18, 2026
Question

Meta XR Core SDK v203.0.0, Unity 6000.5.0f1 – Compile error on import: GetEntityId obsolete

  • June 18, 2026
  • 0 replies
  • 117 views

Updating to XR Core version 203.0.0 when using Unity 6000.5.0f1 on macOS, the package has / compile errors on import, because casting an `EntityId` to `int` is obsolete. Error:

com.meta.xr.sdk.core/Scripts/MCPBridge/Tools/Reflection.cs(461,28): error CS0619: 'EntityId.implicit operator int(EntityId)' is obsolete: 'EntityId will not be representable by an int in the future. This casting operator will be removed in a future version.'

The internal representation of EntityId seems to be an `ulong`, so switching to that might be an option.

Two further points:

  • The MCPBridge tool seems to be entirely optional, I would appreciate it if the asmdef for it was not enabled by default, but could instead be enabled in an editor window / menu instead, for those who want it.
  • This is the second time in a row where I'm forced to fiddle with your packages after upgrading, because you cannot seem to be testing your packages for the platforms & Unity versions you claim to be supporting. PLEASE improve your internal processes so that does not happen every goddamn time.