Check SerializedFields for NULL before build

Hey
I am sorry if this question is answered. I didn’t found anything helpful.

I habe a script “SceneManager” with a lot [SerializeField]s.
I want to check if every field is added before i start building the app and stop it, if not.
Is this possible?

I found the possibility with " base.OnInspectorGUI();" but i didnt found, where to add this script. for that it get used.

I thank you a lot for your support.

I would check that in Awake so you’d realize any missing references if you enter playmode. I’d expect changes to be first tested in playmode before making a build.