Fast Play Mode Safety Guard View on Asset Store (opens in new tab)

Package details

Latest version
1.0
Last updated
First released
Unity version
2022.3.41 or later
Package size
111 KB
Files
52
Favorites
1
Views in the past week
12

Price tracking

Last checked
Tracked since
Lowest recorded
$34.99 on

Keywords

Fast Play Mode Safety Guard

by Kevin Bjorvand (opens in new tab)

No ratings yet

Fast Play Mode, without static-state chaos.

Price $69.99

Buy on Asset Store (opens in new tab)

Affiliate link · Purchases support this site

Price history

Last 6 months

USD
Price history for Fast Play Mode Safety Guard, 6 months Current $69.99; lowest $34.99; highest $69.99 in this period. $0 $50 $100 Jul Aug Sep Oct Nov

Asset preview

1 / 8

Fast Play Mode Safety Guard screenshot 1

Fast Play Mode Safety Guard screenshot 1

About this asset

Fast Play Mode Safety Guard helps you make Unity Play Mode faster without letting hidden static-state bugs corrupt your tests.

Unity’s Enter Play Mode Options can dramatically reduce iteration time by disabling Domain Reload. The problem is that static fields, singleton instances, event subscribers, cached objects, collections, and initialization flags can survive between Play Mode runs. This can create confusing bugs where your game behaves differently after the first test, even though nothing obvious changed.

Fast Play Mode Safety Guard gives you a clear safety report before you rely on faster Play Mode settings. It scans your compiled project code, finds risky static state, explains why each issue matters, and suggests practical reset patterns you can use to make your project safer.

The tool is built for developers who want faster iteration, but do not want to blindly disable Domain Reload and hope everything still works. Instead of guessing, you get a readable report that shows which static members are unsafe, which ones need review, and which ones are already handled.

You can use the editor window to scan your project, review risk severity, inspect explanations, ignore false positives, mark handled items, generate reset stubs, export JSON reports, and run a Double Play test to check whether static state persists at runtime.

This is especially useful for projects with managers, singletons, service locators, static events, event buses, cached references, ScriptableObject references, initialization flags, large codebases, or asmdef-heavy project structures.

Fast Play Mode Safety Guard does not promise magic. It gives you a practical checklist for making Fast Play Mode safer, cleaner, and easier to adopt.

From the publisher's Asset Store listing.

Technical details

  • Asset type: Unity Editor utility.
  • Main purpose: Helps developers safely use Enter Play Mode Options with Domain Reload disabled by detecting static-state risks before they cause confusing Play Mode bugs.
  • Core feature: Scans compiled project code and reports risky static members that may survive between Play Mode sessions.
  • Detected risk types:Static events
    Static delegates
    Singleton instances
    Static collections
    Static dictionaries
    Static arrays
    Static UnityEngine.Object references
    Static service locators
    Initialization flags
    Mutable static fields
    Runtime persistence evidence from Double Play testing
  • Editor window: Includes a dedicated Unity Editor window for scanning, reviewing findings, filtering results, reading explanations, and checking project readiness.
  • Readiness status: Groups the project into clear safety states:Unsafe
    Needs Review
    Probably Safe
    Safe Enough For Fast Play Mode
  • Finding explanations: Each detected issue includes a simple explanation of why it can be risky when Domain Reload is disabled.
  • Suggested fixes: Provides recommended reset patterns for static fields, including reset methods using RuntimeInitializeOnLoadMethod.
  • Reset coverage tracking: Shows whether each finding has no reset coverage, potential coverage, confirmed coverage, has been ignored, or has been manually handled.
  • Review attributes included: Lets developers mark static members or types as safe, ignored, or manually handled when the scanner cannot automatically prove the reset behavior.
  • Generated reset stub: Can generate a separate reset file for supported public static fields without directly editing user scripts.
  • Double Play test: Enters and exits Play Mode twice to help detect static state that persists between sessions at runtime.
  • CI support: Can run scans in Unity batch mode and export JSON reports for automated review.
  • JSON export: Exports scan results for documentation, team review, build pipelines, or CI validation.
  • Settings asset: Includes configurable project settings for scan scope, ignored items, manually handled items, report paths, and CI failure thresholds.
  • Demo scene included: Comes with a demo scene that shows common static-state problems and how the tool reports them.
  • Supported Unity usage: Built for Unity projects using the Unity Editor and Enter Play Mode Options.
  • Supported operating systems: Should work on Windows, macOS, and Linux wherever the Unity Editor supports the project, since this is an editor-side C# utility and does not rely on native plugins.
  • Runtime impact: Editor-focused tool. It is designed for project analysis, Play Mode safety checks, and CI workflows, not gameplay runtime features.
  • Best use case: Projects that want faster Play Mode entry but use static managers, singletons, event buses, service locators, cached references, or larger asmdef-based codebases.
  • Not intended to: Replace gameplay testing, prove the entire project is bug-free, or automatically rewrite all user code.
  • Practical result: Gives developers a clear checklist of what must be reset, reviewed, ignored, or verified before relying on Fast Play Mode safely.

Compatibility

Render pipelines supported in each Unity version
Unity version Built-in URP HDRP Custom
6000.4.4f1 Compatible Compatible Compatible Compatible
2022.3.41f1 Compatible Compatible Compatible Compatible

Tested and verified in Unity 2022-6 LTS

As listed on the Asset Store.