Search Unity

Feature Request Debug on component property change?

Discussion in 'Editor & General Support' started by cviot_acreos, Oct 19, 2022.

  1. cviot_acreos

    cviot_acreos

    Joined:
    Sep 6, 2021
    Posts:
    15
    Hi,

    Is it possible to make the editor pause when a particular thing change? (transform values, Script active state etc..).

    In a way something similar akin to Chrome subtree modification: https://developer.chrome.com/docs/devtools/javascript/breakpoints/#dom

    Because, in my experience when a project get big enough it become hard to know which script is responsible for a change in a Unity's object property. Having the opportunity to set a breakpoint directly in the editor for a property change would be very great to debug many issues.

    For example, right now I want to know which scripts set the IsKinematic flag to a rigidbody, unfortunately, I many scripts that change this property on many objects so pinpointing to the ones I am interesting is time consuming.