Based on the error, your bullet_instance is a Rigidbody, which is a 3D component and does not have a position property. Is this a 2D or 3D project? A Rigidbody2D (a 2D component) does have a position property. Maybe that’s what you intended?
Yes, you are right. This is 2D game, I used RigidBody2D everything works fine.