Eliminate Stutter and Supercharge Load Times with AAA-Level Caching
Harness the same seamless background streaming and shader warmup techniques used in top-tier optimization workflows. BT-OptiCache X delivers a professional-grade, highly optimized framework designed to bridge the gap between heavy scene loads and buttery-smooth gameplay.
Core Caching Systems
- Advanced Texture & Mesh Caching: Automatically serialize and save textures and static meshes to disk. Drastically reduces memory overhead and speeds up subsequent loads.
- Smart GPU Readback: Seamlessly caches non-readable textures via AsyncGPUReadback without blocking the main thread, handling decompression on the fly.
- Automated Memory Management: Features an intelligent LRU (Least Recently Used) auto-pruning system. Set your maximum cache size (MB), and the system automatically cleans up the oldest files to prevent disk bloat.
- Burst-Compiled Performance: Utilizes Unity's Job System and the Burst compiler for lightning-fast FNV-1a collision-resistant hashing, binary serialization, and header validation.
Zero-Stutter Shader Warmup & Recording
- Runtime Variant Recording: The built-in ShaderVariantRecorder runs silently in the background, tracking the exact shader variants and keywords used during gameplay and saving them to a per-scene .vrec.json file.
- Pre-emptive Scene Warmup: Use ShaderWarmupManifest ScriptableObjects to automatically load and warm up these exact recorded variants before the scene loads. Say goodbye to mid-game shader compilation stutters.
- Frame-Paced Batching: Configurable warmup batch sizes spread the shader compilation across multiple frames, keeping your loading screens perfectly smooth.
Production-Ready Editor Tools
- Next-Gen UI Toolkit Dashboard: Experience a beautiful, AAA-quality editor interface. Monitor live hit/miss rates, arc charts for cache efficiency, disk usage bars, and manage recorded shader manifests directly from the OptiCache X Dashboard.
- One-Click Scene Setup: Instantly deploy the required managers and recorders into your active scene with automated component validation.
- Global Settings Asset: Control global toggles, batch sizes, and disk limits through a clean, centralized ScriptableObject.
Workflow & Architecture
- Loading Screen Integration: Exposes OnTexturePassProgress and OnMeshPassProgress UnityEvents (and static actions), making it incredibly easy to drive loading screen UI sliders and percentage bars.
- Event-Driven & Thread-Safe: Heavy I/O operations are offloaded to background threads. A robust MainThreadDispatcher ensures that native GPU uploads happen safely on the main thread without freezing the game.
- Scene-Scoped Architecture: Works globally or on a per-scene basis. Easily support additive scene loading and complex multi-scene setups.
Enterprise Quality:
- Extensive, clean, and well-commented C# code.
- Professional architecture focused on modularity and extreme performance.
- Designed by developers, for developers—built to handle complex 3D environments and action-heavy projects where frame pacing is critical.
What You Get
- Complete source code with detailed XML comments.
- Burst-compiled Jobs for high-speed data processing.
- Beautiful UI Toolkit Custom Editors and Dashboard.
- Automated Shader Variant Recorder and Warmup system.
- Example implementation guidelines for loading screens.