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
- ScrollView clips content when under an ancestor that has a filter set
- "Retrieving array element that was out of bounds" error thrown when attempting to remove a column from a Multi-Column List View
- Multi-Column List View horizontal scroll resets to left most position when scrolling vertically
- Floating License is lost for concurrent jobs
- Warning "Failed to insert item" is logged when Assigning Project to Organization's Project in the Project Settings
Add comment