When you add the same object during game runtime, the obj.name is the same for all those objects.
Then when you call myobject = scene.objects[obj.name] only the first instance of the object will be called
Is there a way to call a different instance of the object?
I have only managed to do so with a ray from another object on the object i want and used myobject = ray.hitObject
edit: or is there a way to change the name of an object before adding it?