![]() |
|
Bug / Crash GetInstanceID obsolete, can't update to 6.5 - Printable Version +- Obi Official Forum (https://obi.virtualmethodstudio.com/forum) +-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html) +--- Forum: General (https://obi.virtualmethodstudio.com/forum/forum-5.html) +--- Thread: Bug / Crash GetInstanceID obsolete, can't update to 6.5 (/thread-4634.html) |
GetInstanceID obsolete, can't update to 6.5 - Jawsarn - 17-07-2026 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). RE: GetInstanceID obsolete, can't update to 6.5 - josemendez - 18-07-2026 (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, RE: GetInstanceID obsolete, can't update to 6.5 - Jawsarn - 03-08-2026 (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. GetEntityId with implicit cast to integer is also error marked obsolete at this point. Any eta on the update? RE: GetInstanceID obsolete, can't update to 6.5 - josemendez - 04-08-2026 (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, |