com.unity.xr.core-utils 2.2.0-pre.2
Notes: processedReleased November 15, 2022
Unity Compatibility
Minimum Unity: 2019.4 (0f1)
Package Dependencies
- com.unity.modules.xr (1.0.0)
✨ Features
- Added `SetValueWithoutNotify` method to `BindableVariableBase` to let users set the value without broadcasting to subscribers.
- Added `BuildValidationRule.OnClick` lambda function that is invoked when the rule is clicked in the validator. Also added the `BuildValidator.SelectObject` method to perform the object select logic for rules.
- Added `BuildValidatior.FixIssues` method to process and fix a batch of validation rules.
📈 Improvements
- Renamed `UnBindAction` to `UnbindAction` in [EventBinding](xref:Unity.XR.CoreUtils.Bindings.EventBinding).
- The `Fix All` button, in the `Project Validation`, now processes and fixes all issues in a single frame. Set `BuildValiationRule.FixItAutomatic` to `false` if the issue cannot be processed with others in the same frame (Ex. if the fix requires a Unity Editor restart).
⚡ API Changes
- Removed `SetValue` method from `BindableVariableBase`. Use the `Value` property setter instead.
🔧 Bug Fixes
- Fixed GC alloc caused by the value comparison in `BindableVariable`.
- Fixed error when calling `GameObjectUtils.GetComponentsInAllScenes` with unloaded scenes in the Hierarchy window.
