Why are components' script field grayed out?

Components’ script field is grayed out making me unable to simply replace the script by drag n dropping. I now manually have to remove the existing script and add a new one.

I tried searching on google with no success. It’s not much of a problem, but knowing why it’s grayed out would be awesome :slight_smile: Does anyone know anything?

59986-screen.png

You can un-gray it out (and get the old behavior back) by right-clicking on the Inspector’s tab and switching from “Normal” to “Debug”.

I guess they assume this is still a useful thing to have, so they kept it there, but disabled it by default to prevent weird stuff.

Given this though, I kinda wish they would’ve just removed it instead of graying it out, but still be able to highlight/ping the script file when you clicked on the component.

This is because by far most people who changed scripts this way did it accidentally, which creates strange problems. But they recognize that there is a legitimate use for it, and are looking into a way to make it work better.