Uh oh!
There was an error while loading. Please reload this page.
Fix for apple/unityplugins#102 - obsolete method in Unity 6000.4 and newer versions throws error. - #104
Draft
michalDerer wants to merge 7 commits into
Draft
Fix for apple/unityplugins#102 - obsolete method in Unity 6000.4 and newer versions throws error.#104michalDerer wants to merge 7 commits into
michalDerer wants to merge 7 commits into
Conversation
ryzngard
commented
Aug 2, 2026
Collaborator
There seem to be a few other places this is used https://github.com/search?q=repo%3Aapple%2Funityplugins%20GetInstanceID&type=code Can you update those as well? |
michalDerer
commented
Aug 3, 2026
Author
Yes, I'll check it out. |
…g errors in Unity 6000.4 or newer
…in Unity 6000.4 or newer (unity side)
… in Unity 6000.4 or newer (native side)
michalDerer
marked this pull request as draft
August 12, 2026 00:16
…in Unity 6000.4 or newer (unity side)
… in Unity 6000.4 or newer (native side)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A script in the Apple.Core plugin contains a method that becomes obsolete in Unity 6000.4 and newer versions, causing an error.
In that case, GetEntityId() must be used instead.
Fixes#102