Skip to content

fix: resolve InstanceID deprecation in Unity 6.4+#224

Open
chikacc wants to merge 1 commit intoinkle:masterfrom
chikacc:master
Open

fix: resolve InstanceID deprecation in Unity 6.4+#224
chikacc wants to merge 1 commit intoinkle:masterfrom
chikacc:master

Conversation

@chikacc
Copy link
Copy Markdown

@chikacc chikacc commented Mar 28, 2026

Description

Unity 6.4 has deprecated InstanceID (warning), and it will be treated as a compilation error (CS0619) from Unity 6.5 onwards.

This PR addresses the issue by:

  • Using EntityId for Unity 6.4 and newer versions.
  • Maintaining backward compatibility for older Unity versions using conditional compilation (#if UNITY_6000_4_OR_NEWER).

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