From 44901b2910ed9aa8d91e03c7001a0517f61f220b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ha=CC=8Akan=20Sidenvall?= Date: Fri, 26 Jun 2026 08:11:54 +0200 Subject: [PATCH 1/3] FIX: Change TMP text wrap to supported enum property instead of obsoleted boolean property --- Assets/QA/Tests/Core Platform Menu/SceneMenu.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Assets/QA/Tests/Core Platform Menu/SceneMenu.cs b/Assets/QA/Tests/Core Platform Menu/SceneMenu.cs index 13e95bc177..b70a08ce57 100644 --- a/Assets/QA/Tests/Core Platform Menu/SceneMenu.cs +++ b/Assets/QA/Tests/Core Platform Menu/SceneMenu.cs @@ -382,13 +382,13 @@ void BuildSearchBar(Transform parent) var ph = MakeText("Placeholder", textArea.transform, "Search scenes\u2026", 18, kTextSecondary, TextAlignmentOptions.MidlineLeft); ph.fontStyle = FontStyles.Italic; - ph.enableWordWrapping = false; + ph.textWrappingMode = TextWrappingModes.NoWrap; ph.overflowMode = TextOverflowModes.Ellipsis; Stretch(ph.gameObject); var txt = MakeText("Text", textArea.transform, "", 18, kTextPrimary, TextAlignmentOptions.MidlineLeft); - txt.enableWordWrapping = false; + ph.textWrappingMode = TextWrappingModes.NoWrap; Stretch(txt.gameObject); var input = bar.AddComponent(); @@ -614,7 +614,7 @@ void BuildSceneButton(Transform parent, SceneEntry entry) var nameT = MakeText("Name", go.transform, entry.displayName, 15, kTextPrimary, TextAlignmentOptions.Center); nameT.overflowMode = TextOverflowModes.Ellipsis; - nameT.enableWordWrapping = false; + nameT.textWrappingMode = TextWrappingModes.NoWrap; var nr = Rect(nameT); nr.anchorMin = new Vector2(0.04f, 0.38f); nr.anchorMax = new Vector2(0.96f, 0.94f); @@ -626,7 +626,7 @@ void BuildSceneButton(Transform parent, SceneEntry entry) var subT = MakeText("Sub", go.transform, entry.subcategory, 11, kTextSecondary, TextAlignmentOptions.Center); subT.overflowMode = TextOverflowModes.Ellipsis; - subT.enableWordWrapping = false; + subT.textWrappingMode = TextWrappingModes.NoWrap; var srr = Rect(subT); srr.anchorMin = new Vector2(0.04f, 0.06f); srr.anchorMax = new Vector2(0.96f, 0.38f); From 479524e5fc55b17afe77d606c072143fc537a13e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ha=CC=8Akan=20Sidenvall?= Date: Fri, 26 Jun 2026 08:41:20 +0200 Subject: [PATCH 2/3] FIX: Fixed copy-paste error and updated CHANGELOG --- Assets/QA/Tests/Core Platform Menu/SceneMenu.cs | 2 +- Packages/com.unity.inputsystem/CHANGELOG.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Assets/QA/Tests/Core Platform Menu/SceneMenu.cs b/Assets/QA/Tests/Core Platform Menu/SceneMenu.cs index b70a08ce57..0e6e5aea02 100644 --- a/Assets/QA/Tests/Core Platform Menu/SceneMenu.cs +++ b/Assets/QA/Tests/Core Platform Menu/SceneMenu.cs @@ -388,7 +388,7 @@ void BuildSearchBar(Transform parent) var txt = MakeText("Text", textArea.transform, "", 18, kTextPrimary, TextAlignmentOptions.MidlineLeft); - ph.textWrappingMode = TextWrappingModes.NoWrap; + txt.textWrappingMode = TextWrappingModes.NoWrap; Stretch(txt.gameObject); var input = bar.AddComponent(); diff --git a/Packages/com.unity.inputsystem/CHANGELOG.md b/Packages/com.unity.inputsystem/CHANGELOG.md index 3453304eb6..924780f709 100644 --- a/Packages/com.unity.inputsystem/CHANGELOG.md +++ b/Packages/com.unity.inputsystem/CHANGELOG.md @@ -31,6 +31,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Fixed an incorrect ArraysHelper.HaveDuplicateReferences implementation that didn't use its arguments right [ISXB-1792] (https://github.com/Unity-Technologies/InputSystem/pull/2376) - Fixed `InputAction.IsPressed`, `WasPressedThisFrame`, and `WasReleasedThisFrame` using a `ButtonControl`'s `pressPoint` when a binding also had an explicit `PressInteraction` with its own `pressPoint`, which could make those APIs disagree with the interaction's press and release behavior. Action-level press APIs now follow the interaction threshold when both are set explicitly. - Fixed `IndexOutOfRangeException` in `InputDeviceBuilder` when connecting an HID gamepad whose report descriptor declares a hat switch with Report Size 8 (e.g. ESP32-BLE-Gamepad). The HID layer now anchors the hat's directional sub-controls to the hat's own byte instead of letting the layout system auto-allocate a fresh byte for each [UUM-143659](https://jira.unity3d.com/browse/UUM-143659). +- Fixed a compilation error with newer versions of TextMesh Pro where text wrapping via boolean property have been deprecated. ISXB-1800. ### Changed - Action-level `IsPressed`, `WasPressedThisFrame`, and `WasReleasedThisFrame` for bindings to `Vector2Control` / `StickControl` no longer consult a per-control `pressPoint` on the vector (that field was removed). Use a `Press` interaction to set a custom threshold, or rely on `defaultButtonPressPoint`. From f9c18ee32f5199363d0370f1dd1e3dfb761b8611 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ha=CC=8Akan=20Sidenvall?= Date: Fri, 26 Jun 2026 09:13:09 +0200 Subject: [PATCH 3/3] Undo entry in CHANGELOG --- Packages/com.unity.inputsystem/CHANGELOG.md | 1 - 1 file changed, 1 deletion(-) diff --git a/Packages/com.unity.inputsystem/CHANGELOG.md b/Packages/com.unity.inputsystem/CHANGELOG.md index 924780f709..3453304eb6 100644 --- a/Packages/com.unity.inputsystem/CHANGELOG.md +++ b/Packages/com.unity.inputsystem/CHANGELOG.md @@ -31,7 +31,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Fixed an incorrect ArraysHelper.HaveDuplicateReferences implementation that didn't use its arguments right [ISXB-1792] (https://github.com/Unity-Technologies/InputSystem/pull/2376) - Fixed `InputAction.IsPressed`, `WasPressedThisFrame`, and `WasReleasedThisFrame` using a `ButtonControl`'s `pressPoint` when a binding also had an explicit `PressInteraction` with its own `pressPoint`, which could make those APIs disagree with the interaction's press and release behavior. Action-level press APIs now follow the interaction threshold when both are set explicitly. - Fixed `IndexOutOfRangeException` in `InputDeviceBuilder` when connecting an HID gamepad whose report descriptor declares a hat switch with Report Size 8 (e.g. ESP32-BLE-Gamepad). The HID layer now anchors the hat's directional sub-controls to the hat's own byte instead of letting the layout system auto-allocate a fresh byte for each [UUM-143659](https://jira.unity3d.com/browse/UUM-143659). -- Fixed a compilation error with newer versions of TextMesh Pro where text wrapping via boolean property have been deprecated. ISXB-1800. ### Changed - Action-level `IsPressed`, `WasPressedThisFrame`, and `WasReleasedThisFrame` for bindings to `Vector2Control` / `StickControl` no longer consult a per-control `pressPoint` on the vector (that field was removed). Use a `Press` interaction to set a custom threshold, or rely on `defaultButtonPressPoint`.