added

ViroReact Release v2.51.0

This release introduces a major enhancement to depth estimation on iOS, bringing high-fidelity AR capabilities to non-LiDAR devices. It also addresses critical stability issues regarding memory management on iOS and navigation stability on Android.

πŸ‘

Support ReactVision

Help us accelerate the future of ViroReact by joining our GitHub Sponsors; even a $1 contribution makes a massive difference for our small team.

Sponsor ReactVision on GitHub β†’

πŸš€ New Features

  • Monocular Depth Estimation (iOS): We have integrated the Depth Anything v2 CoreML model to enable advanced depth estimation on iOS devices lacking LiDAR hardware (e.g., iPhone XR, iPhone 11).
  • Universal Accuracy: Enables more accurate AR object placement and occlusion across a wider range of hardware.
  • Automatic Fallback: The system automatically detects hardware capabilities and switches to the ML-based model when LiDAR is unavailable.
  • Real-time Maps: Generates high-quality depth maps from the standard camera feed in real-time.

❗️

Important Usage Note

To utilise the new depth-based features on non-LiDAR iOS devices, developers must manually download the CoreML model and bundle it with their application. Please refer to the updated Installation Guide for the download link and installation instructions.

πŸ› Bug Fixes

Android

  • Resolved an issue causing a black screen when navigating between screens using Expo Router.

iOS

  • Memory Leaks: Fixed ARFrame retention issues that led to progressive memory leaks during prolonged sessions.
  • Depth Fallback: Fixed issues ensuring proper fallback behavior for devices without LiDAR.
  • Particle Emitter: Fixed a crash scenario related to the particle emitter system.

General Stability

  • Thread Safety: Resolved thread deadlocks occurring within the AR session lifecycle.

πŸ”§ Improvements

  • Enhanced AR hit-testing logic to utilize ML-based depth data for greater precision.

Need Help?

If you're looking for support getting started or want an expert to help you build a comprehensive AR or VR application, look no further than our community Discord and our trusted experts.

Join the ReactVision Discord β†’ο»Ώ

Hire an Expert β†’