Hello,
In our project we found some GameObjects in a strange state, they look both active and inactive at the same time in the Inspector. Active because their checkbox is checked, but inactive because their “cube” icon is greyed out. I have attached an image to show this.
These objects don’t work properly in the player, like they are invisible but their scripts are partially running.
By disabling and re-enabling them they get their coloured icon back, a blue cube in our case as they are part of a prefab.
And it is strange that, even if we fix them by disabling and re-enabling them, they don’t get saved when we save the scene, and we find them in the same undefined state when we reload the scene.
It happens on both Unity 5.6 and 2017.
I would like to know if this is a valid state for a GameObject and what it means, please. Or if it is a corrupted state and if you know how that can happen so we can avoid it.
Thank you
Riccardo