Search Unity

  1. Unity 2020.1 has been released.
    Dismiss Notice
  2. We are looking for feedback on the experimental Unity Safe Mode which is aiming to help you resolve compilation errors faster during project startup.
    Dismiss Notice
  3. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Script field in Inspector is now diabled? But WHY?

Discussion in '5.3 Beta' started by Immanuel-Scholz, Dec 6, 2015.

  1. Immanuel-Scholz


    Jun 8, 2013

    I recognized that unity now has the script field in the inspector editor disabled, means you can't replace the script of a component anymore.

    UI code already hide this field.

    Why? AFAIKS there is no difference in the serialization system under the hood that introduces any difficulty in just applying the serialized set of properties to a new data type.

    This was a heck of a useful feature for many circumstances (and basically my most successfull #unitytips so far ;)). Most useful for changing a class into its sub-class or super-class.

    I am not very concerned at the moment, as it remains to be possible to change the script in "Debug" view of the inspector, but this change must have had a reason. And I am always curious :)
    litebox and leni8ec like this.