Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug / Crash  GetInstanceID obsolete, can't update to 6.5
#1
As title, a bunch of usage of GetInstanceID that now throws error, we can't update to latest supported and recommended unity version (6.5).
Reply
#2
(17-07-2026, 07:23 PM)Jawsarn Wrote: As title, a bunch of usage of GetInstanceID that now throws error, we can't update to latest supported and recommended unity version (6.5).

We’re working on an update that replaces it with GetEntityID. In the meantime, you can replace all instances of GetInstanceID with GetEntityID yourself, should work with no problem.

Let me know if I can be of further help,

Kind regards,
Reply
#3
(18-07-2026, 07:10 AM)josemendez Wrote: We’re working on an update that replaces it with GetEntityID. In the meantime, you can replace all instances of GetInstanceID with GetEntityID yourself, should work with no problem.

Let me know if I can be of further help,

Kind regards,

GetEntityId with implicit cast to integer is also error marked obsolete at this point. Any eta on the update?
Reply
#4
(03-08-2026, 10:51 AM)Jawsarn Wrote: GetEntityId with implicit cast to integer is also error marked obsolete at this point. Any eta on the update?

Instance/EntityIDs in Obi are used solely for comparing objects. Instead of directly casting to integer, using either GetHashCode() or CompareTo() works.

ETA for the new version is end of August.

kind regards,
Reply