This repository has been archived on 2025-04-28. You can view files and clone it, but cannot push or open issues or pull requests.
ARPlusSystem/ARPlusSystem-250418/Library/PackageCache/com.unity.xr.arfoundation@4.../Documentation~/upgrade-guide.md

18 lines
863 B
Markdown

---
uid: arfoundation-upgrade-guide
---
# Upgrading to AR Foundation version 4.2
To upgrade to AR Foundation package version 4.2, you need to do the following:
- Use Unity 2020.3 or newer.
- Be aware of behavioral changes to the ARSession.
**Use Unity 2020.3 or newer**
This version of the package requires Unity 2020.3 or newer.
**Be aware of behavioral changes to the ARSession**
The [ARSession](xref:UnityEngine.XR.ARFoundation.ARSession) optionally sets the application's `vSyncCount` and `targetFrameRate` (see [matchFrameRateRequested](xref:UnityEngine.XR.ARFoundation.ARSession.matchFrameRateRequested)). In earlier versions, the original values were not restored when the ARSession was disabled. The behavior has changed so that the original values are restored when the ARSession disabled if the frame rate was set while the ARSession was enabled.