diff --git a/Packages/com.unity.inputsystem/CHANGELOG.md b/Packages/com.unity.inputsystem/CHANGELOG.md index a691fdd3c9..83aebd12cc 100644 --- a/Packages/com.unity.inputsystem/CHANGELOG.md +++ b/Packages/com.unity.inputsystem/CHANGELOG.md @@ -32,6 +32,7 @@ however, it has to be formatted properly to pass verification tests. - Fixed an issue in `Keyboard` where the sub-script operator would return a `null` key control for the deprecated key `Key.IMESelected`. Now, an aliased `KeyControl`mapping to the IMESelected bit is returned for compability reasons. It is still strongly advised to not rely on this key since `IMESelected` bit isn't strictly a key and will be removed from the `Key` enumeration type in a future major revision. [ISXB-1541](https://issuetracker.unity3d.com/product/unity/issues/guid/ISXB-1541). - Fixed InputControl picker not updating correctly when the Input Actions Window was dirty. [ISXB-1221](https://issuetracker.unity3d.com/product/unity/issues/guid/ISXB-1221) - Fixed formatting issues on processor documentation page +- Fixed an issue where a warning would be appear due to code referencing the obsolete com.unity.modules.vr package. ## [1.14.2] - 2025-08-05 diff --git a/Packages/com.unity.inputsystem/InputSystem/Plugins/XR/TrackedPoseDriver.cs b/Packages/com.unity.inputsystem/InputSystem/Plugins/XR/TrackedPoseDriver.cs index 36f312a1e9..5dcd811dc4 100644 --- a/Packages/com.unity.inputsystem/InputSystem/Plugins/XR/TrackedPoseDriver.cs +++ b/Packages/com.unity.inputsystem/InputSystem/Plugins/XR/TrackedPoseDriver.cs @@ -418,16 +418,6 @@ protected void Reset() /// protected virtual void Awake() { -#if UNITY_INPUT_SYSTEM_ENABLE_VR && ENABLE_VR - if (HasStereoCamera(out var cameraComponent)) - { - // The Unity 6.4+ replacement for this call has to be figured later - // See https://jira.unity3d.com/browse/XR-7591 -#pragma warning disable CS0618 - UnityEngine.XR.XRDevice.DisableAutoXRCameraTracking(cameraComponent, true); -#pragma warning restore CS0618 - } -#endif } /// @@ -459,16 +449,6 @@ protected void OnDisable() /// protected virtual void OnDestroy() { -#if UNITY_INPUT_SYSTEM_ENABLE_VR && ENABLE_VR - if (HasStereoCamera(out var cameraComponent)) - { - // The Unity 6.4+ replacement for this call has to be figured later - // See https://jira.unity3d.com/browse/XR-7591 -#pragma warning disable CS0618 - UnityEngine.XR.XRDevice.DisableAutoXRCameraTracking(cameraComponent, false); -#pragma warning restore CS0618 - } -#endif } /// diff --git a/Packages/com.unity.inputsystem/InputSystem/Unity.InputSystem.asmdef b/Packages/com.unity.inputsystem/InputSystem/Unity.InputSystem.asmdef index 7dc45c083f..3adff080e5 100644 --- a/Packages/com.unity.inputsystem/InputSystem/Unity.InputSystem.asmdef +++ b/Packages/com.unity.inputsystem/InputSystem/Unity.InputSystem.asmdef @@ -32,11 +32,6 @@ "expression": "2.0.3", "define": "DISABLE_BUILTIN_INPUT_SYSTEM_WINDOWSMR" }, - { - "name": "com.unity.modules.vr", - "expression": "1.0.0", - "define": "UNITY_INPUT_SYSTEM_ENABLE_VR" - }, { "name": "com.unity.modules.xr", "expression": "1.0.0", diff --git a/Packages/manifest.json b/Packages/manifest.json index 47deea3119..04e9d9d2b6 100644 --- a/Packages/manifest.json +++ b/Packages/manifest.json @@ -41,7 +41,6 @@ "com.unity.modules.unitywebrequestwww": "1.0.0", "com.unity.modules.vehicles": "1.0.0", "com.unity.modules.video": "1.0.0", - "com.unity.modules.vr": "1.0.0", "com.unity.modules.wind": "1.0.0", "com.unity.modules.xr": "1.0.0" } diff --git a/Tools/CodeAnalyzerTestProject/Packages/manifest.json b/Tools/CodeAnalyzerTestProject/Packages/manifest.json index 2101eb315c..8a2c71da62 100644 --- a/Tools/CodeAnalyzerTestProject/Packages/manifest.json +++ b/Tools/CodeAnalyzerTestProject/Packages/manifest.json @@ -30,7 +30,6 @@ "com.unity.modules.unitywebrequestwww": "1.0.0", "com.unity.modules.vehicles": "1.0.0", "com.unity.modules.video": "1.0.0", - "com.unity.modules.vr": "1.0.0", "com.unity.modules.wind": "1.0.0", "com.unity.modules.xr": "1.0.0" }