# Changelog

<details>

<summary>4.0.1</summary>

**When upgrading** from an earlier version: please check the supported SDK versions below and delete your CurvedUI folder before proceeding.

This CurvedUI version supports the following **optional** Third-Party packages:

* Meta XR All-in-One SDK 72.0.0 or later
* Unity XR Interaction Toolkit 3.0.3 or later
* SteamVR Plugin 2.0 or later
* Input System package v1.11.0 or later
* TextMeshPro

A CurvedUI version that supports earlier versions of these packages is available upon request.

**Bugfixes**

* Fixed TMP meshes being updated too often causing lower performance in some cases .
* Removed unused dependency from CurvedUISettingsEditor.

</details>

<details>

<summary>4.0.0</summary>

When upgrading from an earlier version: please check the supported SDK versions below and delete your CurvedUI folder before proceeding.

This CurvedUI version supports the following **optional** Third-Party packages:

* Meta XR All-in-One SDK 72.0.0 or later
* Unity XR Interaction Toolkit 3.0.3 or later
* SteamVR Plugin 2.0 or later
* Input System package v1.11.0 or later
* TextMeshPro

A CurvedUI version that supports earlier versions of these packages is available upon request.

**New**

* All Control Methods can now be used with Unity's new Input System.
* CurvedUI can now be compiled to support multiple SDKs at the same time.
* Added Support for XR Interaction Toolkit 3.0.3+
* Added support for Image Raycast Padding property.&#x20;

**Changes and Improvements**

* Improved Unity 6 compatibility by automatically detecting and setting up control methods.
* CurvedUI will now default to use Box instead of Mesh colliders for better performance.

**Bugfixes**

* Fixed an issue where TMP text could not be modified if it was originally empty.
* Optimized Graphics Raycaster for better performance.
* Minor bugfixes and performance improvements.

</details>

<details>

<summary>3.4</summary>

New

* Added support for Oculus Hand Tracking and Interaction&#x20;

Bugfixes

* Improved performance with long text meshes.
* Fixed Drag interaction sometimes not working on Android builds.
* Fixed null reference error on some Android headsets when using Unity XR.
* Laser pointer dot will now disappear completely when not being pointed at canvas.
* Fixed leftover submeshes in TMP text.
* Fixed an error causing invalid AABB when working with TMP submeshes.

</details>

<details>

<summary>3.3</summary>

New

* Added support for Unity XR Toolkit v1.0 and ActionBasedControllers
* Added support for new Input System with Unity XR&#x20;

Bugfixes

* Improved multi-scene workflow.
* Fixed issues with UI elements using UV2 and UV3 channels.

</details>

<details>

<summary>3.2</summary>

Bugfixes

* Fixed an issue where TMP Text would not clear properly.
* Fixed a compile error in Unity 2020.1 and above.
* Removed Shaders that could show errors on URP and HDRP in Unity 2020.
* Fixed errors showing in Prefab Mode and added more descriptive messages.

</details>

<details>

<summary>3.1</summary>

New

* Added support for Oculus Integration v19.1 and above.
* Added a global Layer Mask for easier control over interactions.&#x20;

Bugfixes

* Fixed an issue that could cause the UI to become unresponsive in Android platform builds.
* Fixed a naming conflict with Selectable class from other VR assets.
* Fixed an issue where Controller Override would not work in some Control Methods. If you are using this feature, you may need to re-assign your reference.
* Fixed an issue where CurvedUIPhysicsRaycaster would always raycast on all layers. Changes
* CurvedUI now requires Unity 2018.4 or above.
* RaycastMyLayerOnly property has been deprecated to make room for new global Layer Mask.

</details>

<details>

<summary>3.0</summary>

New

* Added support for Unity XR Interaction Toolkit.
* Added support for interactions with 3D objects via EventTrigger components on all control methods.&#x20;

Bugfixes

* Fixed an issue which could cause UI to be unresponsive to clicks in builds, even though it worked in Editor.
* Fixed an issue where cyrillic or chinese characters would be improperly displayed on dropdowns. Big thanks to Patrick M. for this one!

</details>
