Epic Game Optimizer is a sophisticated Unity optimization toolkit designed to dramatically improve game performance through intelligent component management and real-time profiling.
Key Innovation
The proximity-based optimization approach is particularly clever - rather than having all objects active all the time (causing performance issues) or manually managing LOD systems, your tool automatically manages component states based on player distance. This creates a "bubble" of high-fidelity rendering around the player while keeping distant objects in a minimal state.
This optimization tool is perfect for:
- Open-world games with large environments
- Procedurally generated content where object count is unpredictable
- Mobile games requiring aggressive performance optimization
- VR applications where consistent framerates are critical
- Games with dynamic object spawning and destruction
⚙️ Core Optimization System
Dynamic Component Management:
- Renderers: Automatically enables/disables MeshRenderer and SkinnedMeshRenderer components based on player proximity.
- Rigidbodies: Adds physics components to "Movable" tagged objects when players approach, removes them when far away.
- Lights: Activates/deactivates lighting systems as needed.
- Particle Systems: Starts/stops particle effects based on distance.
- Animators: Enables/disables animation components dynamically.
- Colliders: Optimizes collision detection by converting colliders to triggers when not needed.
Smart Detection System:
- Uses either Sphere Collider or Box Collider for proximity detection.
- Configurable scan areas.
- Gradual scan system that prevents performance spikes during initialization.
- Tag-based filtering system (Ground, Player, Static, Trigger, Movable, Particle).
⚙️ Advanced Performance Profiling
Real-time Metrics:
- FPS tracking with color-coded display.
- Memory usage monitoring with configurable warning thresholds.
- Active component counting (renderers, lights, particle systems).
- Frame time analysis (average, min, max with spike detection).
Performance Warnings:
- Automatic alerts for low FPS, high memory usage, too many active renderers.
- Frame time spike detection.
- Customizable thresholds and benchmarking tools.
⚙️ Additional Optimization Features
Frustum Culling System (ObjectCulling):
- Camera-based visibility culling that disables renderers for objects outside the camera's view frustum.
- Automatic detection of scene objects with real-time culling updates.
Stress Testing Tools (GameObjectSpawner):
- Configurable mass object spawning.
- Randomized positioning, scaling, and coloring.
- Perfect for testing optimization effectiveness.
FPS Display (FPSCounter):
- Color-coded FPS counter with customizable positioning.
- Real-time performance feedback with millisecond timing.