v2.52.0 - Shader System & Memory Improvements
Summary
This release adds shader customization support for iOS and Android, fixes critical memory leaks, and improves AR depth functionality.
Key Features
Shader System (New)
- Cross-platform shader support
- Real-time shader customization for iOS and Android
- Shader propagation down node trees
- Standardized fragment output
- Texture and animation support in shaders
- Optimized material sharing for better performance
AR & Depth Improvements
- Depth-based AR hit testing
- Monocular depth fallback for non-LiDAR devices
- Fixed depth frame alignment issues
Critical Bug Fixes
- iOS Memory Leaks (Critical): Fixed all memory leaks on iOS platform
- Material Overflow: Fixed cloned materials array overflow crashes
- Portal Crashes: Fixed crashes when unmounting portals on iOS
- Gravity Type Crash: Fixed Android crash (gravity now uses 3D vector
[x, y, z]instead of number) - VRX Asset Loading: Fixed VRX asset loading issues on iOS
- hitResultId: Fixed availability in AR hit tests
Other Improvements
- Performance throttle to prevent system overload
- Refactored thread lock implementation
- Removed debug logs from production code
- Improved TypeScript type definitions