Debug mode for Entities Window

I often use [Serializable] IComponentData to streamline their authoring. In order to hide some fields like timers and other things that shouldn’t be touched during authoring, I put [HideInInspector] attribute next to their field.

The problem is that [HideInInspector] hides these fields from the Entities window and there is no way to reveal them like in the normal inspector. The debug mode shows this:

7428392--909593--upload_2021-8-18_11-53-55.png

I therefore suggest that the Entities window should have a “debug” mode where all hidden fields are displayed, this way I can see the hidden values in play mode for debugging.

Cheers!

2 Likes

I think that we dont need to hide fields on IComponentData at all :slight_smile:

Of course I believe it would be better to show them all then just partially. It is not like we can edit them unless we live link.

Not at a pc to check, but I feel like [HideInInspector] still hides the field in debug mode for mono behaviour inspectors.