- Home /
find sript which modifies property of gameobject in large scene
If you work in team, you often get scene which was created by someone other.
Let' s say, I see some script is modifying "local scale" property of GameObject. How can I find this script? It can be anywhere in the project and may not contain game object name.
Is there any way to set a breakpoint on property change?
Comment
Answer by Jordi-Bonastre · Mar 07, 2016 at 04:09 PM
If you disable the GO and run the scene, the script will try to modify a null object and a message will appear in the console. Click on it and the focus will point to the GO with the script that tried to modify the null GO.