Hey,
We have a project we have been working on for months. We recently moved it from a monorepo to a standalone repo, and are now getting an error related to calling "activeSelf" on a gameObject (a script that hasnt been changed in months).
In multiple places where I have references to setting gameObject.activeSelf to true or false, I have had to change them to use GameObject.setActive instread.
For example, this.freeCamera!.gameObject.activeSelf = false; to GameObject.setActive(this.freeCamera!.gameObject, false);
Screenshot 1 - Shows the error
Screenshot 2 - Shows changing the old commented out way to the new way that works but I need to be able to check against activeSelf in other areas so this isnt a solution to move forward.
Is there any reason why this would just suddenly stop working without any change in Needle version? This works in our old monorepo version without any issue. The codebase is identical in both.
Needle : 3.40.0
Unity : 2022.3.12f1