Do objects have unique id?

In my game, I have a lot of cloned objects. All of them have the same name and I don’t know how to distinguish them. Do objects in Unity have something like unique id?


I implementd some simple C++ for UIDs. Then the NPC class has a uid on the server that is unique and replicate4d.

The .h file

	static int32 nextUid;

	UFUNCTION(BlueprintCallable, Category = TDLHelpers)
		static int32 GetNextTDLUID();

The .cpp

int32 UtdlBlueprintHelpers::nextUid = 1;

int32 UtdlBlueprintHelpers::GetNextTDLUID()
	return nextUid++;