What is the best way to get an object using its "Unique ID" retrieved from GetUniqueID()

I’m attempting to use the int32 “Unique ID” of an object to be able to get a reference to it.
I want to use the int32 ID because it needs to be sent between client and Server, and this seems like the lightest way to do that.
Is that true? if so, then how would you get an object reference from its ID, If not, is there a better way?

I don’t think it will work. When I tried it - the same object has different IDs after reloading the project. In different projects (over the network) - they will not match even more.

NetGUID might be right for you.

The easiest is to just use a reference :upside_down_face: