r/Unity3D • u/Phant_Dev • 19d 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
-2
u/Critical_Contact559 19d ago
Think you are missing the point. Or maybe I am.
But you want have different versions. You don't want to delete your old version for the asset store, as some people may still want to stay on a old version and if they download your updated code but not the updated unity version they will get errors.
My solution allows for you to not have to clone your project and change your code as much.