Ok, I instantiated an object, made it a child of the main camera, then moved it in front of the camera so the object is always in view. Then I commented out the code that instantiates the object. The object still appears. It makes no sense. How is it instantiating itself?
Things I’ve tried:
Deleting the prefab (it doesnt appear anymore, but as soon as I put the prefab back it appears again)
Checked the main camera to make sure there wasn’t any instance of the object attached.
Checked all of my code and there is only one place it instantiates the object (which is commented out)
Tried deleting all of the code including comments
This object refuses to go away… it is the devil… It’s like the code is cached somewhere, idk… Anyone else run into this problem?