RuleSource Checked
State your Unity play mode assumptions
Domain reload settings can change whether static state resets between runs.
Ready to use
Rule text
When debugging Unity behavior that changes between editor runs, record the Enter Play Mode settings and whether domain and scene reload are enabled. Do not assume static fields reset in every project.Why it helps
The reasoning behind the entry
Fast enter play mode settings can preserve state and make a bug appear or disappear depending on editor configuration.
Filed under