This is not for a component, but for the instance of the gameObject in the hierarchy. When I select it and go to the inspector, there is no way to deactivate it.
compared to the docs:
https://docs.unity3d.com/uploads/Main/GameObjectLightExample.png
https://docs.unity3d.com/uploads/Main/GOActiveBox.png
The only way to get the box to show up is to select two gameObject instances at the same time. But then I have to deactivate a second gameObject every time.
Your editor doesn’t look right…
which unity version u using and have u tried to reinstall?
Tried reinstalling, still same. On latest 5.6.1
Unless they changed something in 5.6 I have never seen that game object inspector. My guess is you have some kind of editor code that is overwriting the default GUI.
Or maybe you are in debug mode. But that usually has more information.
Are you selecting the object in the hierarchy or selecting the prefab in the project window?
https://streamable.com/2ewv9
hierarchy or scene view. I’ve installed unity on multiple machines and it’s always like this.
That is odd. Have you tried selecting cubes in an empty project? As said above, it is probably a script or editor extension that is affecting it. If you start with an empty project and don’t see this behaviour, then you will know. Also does it affect any gameobject or just those trees? For example, if you just drop some cubes in the scene does it still happen?
Also, please post images directly into the forum, and not on remote sites.
New project it doesn’t happen. Now to find the script that is doing this…
edit: Found it. Search for this if you have an issue with all gameobjects
[CustomEditor(typeof(GameObject))]
BTW this was added to my code 630 days ago, to give you an idea of how long I put up with this crap. smh.
1 Like