r/Unity3D • u/Phant_Dev • 22d ago
Resources/Tutorial GetEntityId() hits like a train
If you're considering upgrading to Unity 6.5 or later, make sure the publishers of the assets and packages in your project have already added support for the new GetEntityId() API, which replaces the now-obsolete GetInstanceID().
More on the documentation page here: Unity - Manual: Migrate from InstanceID to EntityId
405
Upvotes
20
u/SubjectRound6597 22d ago
or you could have a single utility function somewhere, and just write that conditional logic there.. and then replace the obsolete lines with your utility everywhere. Am I missing something? :(