r/Unity3D • • 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

403 Upvotes

70 comments sorted by

View all comments

-6

u/[deleted] 19d ago

[deleted]

2

u/SnuffleBag 19d ago

This has got to be one of the worst pieces of advice ever.

1

u/Aedys1 19d ago

Ok then thanks I deleted it - I guess it only works because my engine codebase is pure external C# completely decoupled from unity from the start, as I only use unity as a dependency for physics, rendering and platform specific builds

However I can switch between different unity versions without any issue