Search Issue Tracker
Fixed in 2.1.9
Votes
2
Found in [Package]
2.1.8
Issue ID
1371347
Regression
No
[XR] Build fails due to XR Legacy Input package errors when trying to build to a different platform than the Target Platform
Reproduction steps:
1. Download and open the attached project: "ENABLE_AR.zip"
2. Make sure to have the Linux Standalone module installed
3. Make sure that Linux is selected as the Target Platform in Build Settings
4. Go to Build > Build Windows
Expected result: The build starts and succeeds
Actual result: The build starts and fails due to a Legacy XR Input package error
Errors displayed in the Console:
Library/PackageCache/com.unity.xr.legacyinputhelpers@2.1.8/Runtime/TrackedPoseDriver/TrackedPoseDriver.cs(199,13): error CS1069: The type name 'PoseData' could not be found in the namespace 'UnityEngine.XR.Tango'. This type has been forwarded to assembly 'UnityEngine.ARModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' Enable the built in package 'AR' in the Package Manager window to fix this error.
Library/PackageCache/com.unity.xr.legacyinputhelpers@2.1.8/Runtime/TrackedPoseDriver/TrackedPoseDriver.cs(200,17): error CS0103: The name 'TangoInputTracking' does not exist in the current context
Library/PackageCache/com.unity.xr.legacyinputhelpers@2.1.8/Runtime/TrackedPoseDriver/TrackedPoseDriver.cs(200,91): error CS0103: The name 'PoseStatus' does not exist in the current context
Reproducible with: XR Legacy Input Helpers 2.1.8 (2019.4.31f1, 2020.3.20f1, 2021.1.25f1, 2021.2.0b15, 2022.1.0a12)
Notes:
- The BuildTest script in this project is initially set up to trigger a Windows build
- Reproducible on Linux, Windows, macOS
- The only exception when the build succeeded, was on Windows with the Target Platform set as Windows, and the script changed to trigger a Linux build
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Select Preset "None" icon changes after switching tabs
- [Android] Crash when using xxHash3 and targeting the ARMv7 Architecture with IL2CPP Scripting Backend
- GameObject reference in a Script Component becomes missing when unpacking a variant of another Prefab variant
- Project Settings vertical separator position is not synchronized with the mouse position when dragging it horizontally
- Crash on PhysicsDebugDraw::SelectFiltering::Update when entering play mode with Physics Debug window docked and unfocused
Add comment