Back to rules
RuleSource Checked

State your Unity play mode assumptions

Domain reload settings can change whether static state resets between runs.

Checked July 5, 2026

Ready to use

Rule text

1 line
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

Use it in more than one place

Ecosystem
Unity
Physics
PhysX