Skip to content

Fix obsolete GetInstanceID error on Unity 6000.5+#37

Open
imurashka wants to merge 3 commits into
Haruma-K:masterfrom
imurashka:ivan/fix-instanceid-obsolete-6000_5
Open

Fix obsolete GetInstanceID error on Unity 6000.5+#37
imurashka wants to merge 3 commits into
Haruma-K:masterfrom
imurashka:ivan/fix-instanceid-obsolete-6000_5

Conversation

@imurashka

Copy link
Copy Markdown

Unity 6000.5 turns Object.GetInstanceID() into a compile error (CS0619) in favor of GetEntityId(). DebugPageBase now uses GetEntityId() on 6000.5+ and keeps GetInstanceID() on older versions via a version guard, so the package compiles on both.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant