I want to copy object and paste at same position by using Ctrl+c Barn1_Door_A at the center of map like this image.
when I paste by Ctrl+v the object is out of map like this image.
The component value of object is same value but why it paste out of map. How to fix it?
Highlight Barn1_Door_A and press Ctrl+d. It should duplicate the gameobject in the same location.
The only reason I can think of why your object isn't located in the same spot as the other one is the it is being made in a different place in the hierarchy (i.e not as a child of LockedBuildings)