i’m using a factory to spawn in projectiles, and i’m getting a very confusing issue where the scripts in the newly created game object all seem to be pointing to the same game object.
i tried debugging it a bit, but that creates even more questions. on the factory side, everything seems to be going smoothly, with the created game objects being what was expected, such as
though if i go into the script attached to the game object that was created and print the ID of the game object, i get
hash: [14062770599921625650 (unknown)]. this hashed id is the same for every single factory-created object
i really don’t know what’s going on here, any help would be good.