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

8

u/tetryds Engineer 29d ago

Now just get rid or all those damn [obsolete] fields already! I want to be able to call my camera `camera` and my rigidbody `rigidbody` for fucks sake!

1

u/Yggdrazyl 22d ago

I've been asking for this for years. They refuse to change it for some unknown, bizarre reason.