Skip to content

Commit 4c3ce7e

Browse files
FIX: Add Touch Samples package dependency versions to avoid errors (ISXB-1245) (#2118)
1 parent fc4ddbe commit 4c3ce7e

File tree

4 files changed

+23
-4
lines changed

4 files changed

+23
-4
lines changed

Assets/Samples/TouchSamples/TouchSamples.asset

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ MonoBehaviour:
1515
url: https://github.com/Unity-Technologies/InputSystem/releases/download/%VERSION%/TouchSamples-%VERSION%.unitypackage
1616
packageDeps:
1717
- com.unity.inputsystem
18-
- com.unity.cinemachine
19-
- com.unity.probuilder
18+
- com.unity.cinemachine@2.10.3
19+
- com.unity.probuilder@5.2.3

ExternalSampleProjects/README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# External Sample Projects
2+
3+
These Samples are self-contained projects because they are too big to be included as a package Sample.
4+
5+
When editing these projects, you need to manually add a few packages for them to work.
6+
The projects don't contain the packages themselves.
7+
8+
The `InputDeviceTester` needs:
9+
10+
- Input System package (latest version)
11+
- Unity UI package (2.0.0 version at least)
12+
- Jetbrains Rider Editor / Visual Studio package for IDE tooling.
13+
14+
The `TouchSamples` need:
15+
16+
- All the same as ´InputDeviceTester`
17+
- Cinemachine (2.10.3 maximum; 3.x has errors with the project but are easy to fix)
18+
- Probuilder (5.2.3 version maximum at the moment; 6.x has problems building for iOS and Android)

Packages/com.unity.inputsystem/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ however, it has to be formatted properly to pass verification tests.
1616
- Fixed GamepadButton.LeftTrigger and GamepadButton.RightTrigger enum values not matching displayed dropdown values in editor when using GamepadButtonPropertyDrawer [ISXB-1270](https://issuetracker.unity3d.com/product/unity/issues/guid/ISXB-1270).
1717
- Fixed an issue causing InvalidOperationException when entering playmode with domain reload disabled. [ISXB-1208](https://issuetracker.unity3d.com/product/unity/issues/guid/ISXB-1208).
1818
- Fixed an issue where compiling Addressables with Input System package present would result in failed compilation due to `IInputAnalytic.TryGatherData` not being defined [ISXB-1203](https://issuetracker.unity3d.com/product/unity/issues/guid/ISXB-1203).
19+
- Pinned Touch Samples sample package dependencies to avoid errors with Cinemachine 3.x and Probuilder 6.x. [ISXB-1245](https://issuetracker.unity3d.com/product/unity/issues/guid/ISXB-1245)
1920

2021
## [1.12.0] - 2025-01-15
2122

Packages/com.unity.inputsystem/InputSystem/Editor/DownloadableSample.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ public override void OnInspectorGUI()
7272
Rect rect = EditorGUILayout.GetControlRect(true, 20);
7373

7474
GUI.Label(rect, new GUIContent(req), EditorStyles.label);
75-
rect.width -= 160;
76-
rect.x += 160;
75+
rect.width -= 200;
76+
rect.x += 200;
7777
if (add != null || !list.IsCompleted)
7878
{
7979
using (new EditorGUI.DisabledScope(true))

0 commit comments

Comments
 (0)