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.management@4.5.0/Documentation~/upgrade-guide.md

14 lines
683 B
Markdown
Raw Normal View History

---
uid: xr-plug-in-management-upgrade-guide
---
# Upgrade Guide to 4.0.0
Runtime behavior of **XRManagerSettings.loaders** property has changed to return a shallow copy of the list of loaders. This list can be operated on without affecting the original currently held list. However, the list itself can be set to a mutated list as long as it follows the following guidelines:
* It only reorders the elements.
* It only adds loaders that are of the same type as a loader that was present and registered prior to initial startup.
* It only removes loaders.
While this was always the intended runtime behavior for this collection, it was not actually enforced before this release.