Skip to content

v2.52.0 - Shader System & Memory Improvements#295

Merged
doranteseduardo merged 24 commits intomainfrom
develop
Feb 9, 2026
Merged

v2.52.0 - Shader System & Memory Improvements#295
doranteseduardo merged 24 commits intomainfrom
develop

Conversation

@doranteseduardo
Copy link
Member

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 with shaderOverrides prop
  • 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

@doranteseduardo doranteseduardo merged commit 4847b1e into main Feb 9, 2026
5 checks passed
@doranteseduardo doranteseduardo deleted the develop branch February 9, 2026 20:19
@doranteseduardo doranteseduardo restored the develop branch February 9, 2026 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants