Hi, I’m trying to use the enter play mode settings options to disable domain reloading so I can speed up the enter play time in the editor.
I seem to be having an issue that I don’t really understand fully. Upon opening the editor on first play there will always be an error of a null value for a serialized field. If I cause a reload by modifying the code then the value will no longer be null. I expect this behaviour for a non serialized field as described here Insanely Fast Enter-to-Play mode but I don’t really understand why this is happening for a serialized field.
Can anyone explain why this is happening and how I can fix it? I’ve attached a small project with the described problem (unity 2019.3.15f1). Steps to reproduce:
- Open the project, press play, see the error
- Cause a recompile of the scripts
- Error disappears because value is no longer null
5921144–632711–bugreport.zip (36.6 KB)