View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.0
- Last updated
- First released
- Unity version
- 2022.3.62 or later
- Package size
- 98 KB
- Files
- 7
- Favorites
- 5
- Views in the past week
- 4
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- Free on
Keywords
- Search for editor tool
- Search for code injection
- Search for static variables
- Search for Memory Management
- Search for Debugging Tool
- Search for domain reload
- Search for play mode
- Search for Static Events
- Search for performance optimization
- Search for singleton
- Search for Editor Extension
- Search for enter play mode
FEP Validator & Auto Fixer
Detects and auto fixes unsafe static variables when Domain Reload is disabled in Unity's Enter Play Mode settings.
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 2
FEP Validator & Auto Fixer screenshot 1
About this asset
FEP Validator & Auto Fixer is a professional-grade editor utility that solves one of the most common bugs introduced by Unity's Configurable Enter Play Mode feature.
When Domain Reload is disabled to speed up "Enter Play Mode" times, Unity skips its standard C# memory cleanup. Static variables, static collections, and static events silently retain their values between play sessions causing "ghost" data, duplicate event subscriptions, and NullReferenceExceptions that are hard to trace back to their real cause.
This package scans your entire project (including Assembly Definition-based scripts), flags every risky static field, and automatically injects the code needed to reset them safely on every Play session without you having to manually track down and patch each one by hand.
Whether you're working on a small prototype or a large enterprise-scale project with thousands of scripts, FEP Validator gives you a clear, actionable dashboard of every static-variable risk in your codebase, plus a one-click fix for all of them at once.
Fully compatible with Unity 2021.3 LTS through Unity 6, and works across Built-in, URP, and HDRP render pipelines.
From the publisher's Asset Store listing.
Technical details
- Deep Project Scanning Analyzes all local assemblies and scripts, including those using Assembly Definitions (.asmdef)
- Smart Code Injection Automatically adds the [FEPReset] attribute and required using statements to your source code
- Smart Constructor Reset Identifies types like List<T> and Dictionary<T,V> and re-initializes them so collections are empty but never null
- Indentation Awareness Detects your script's existing indentation style (tabs vs. spaces) so injected code matches your formatting
- Performance Optimized Includes progress-bar support for scanning and fixing large-scale projects with thousands of scripts
- One-Click Project-Wide Fix Scan once, then patch every flagged risk across your entire project in a single action
- Compatible with Unity 2021.3 LTS, 2022.3 LTS, and Unity 6 (6000.x)
- Supports Built-in Render Pipeline, URP, and HDRP
Compatibility
| Unity version | Built-in | URP | HDRP |
|---|---|---|---|
| 2022.3.62f2 | Compatible | Compatible | Compatible |
As listed on the Asset Store.