So I made a script that extends MonoBehaviour. It’s just a super basic script with basically nothing added. For some reason the GameObject is then moved (in the editor: not in playmode!) to a specific scene position for no reason. Anyone have any idea why this happens?
Basically I had created my own Reset() method which reset GameObject position. I then realized that the Unity MonoBehaviour already has a Reset() method, and even though I didn’t override it - or even call base.Reset() - the Reset() method that I created was called automatically on inspector changes. The solution: rename the Reset() method to something else, like “ResetThis()”.