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
- "Assembly with name already exists" errors are thrown when two packages with different technical names resolve to the same namespace
- A Select Scene Entry is added to Undo History when Deleting while a Scene is selected in the Hierarchy
- The Add Component Menu's back arrow accumulates phantom levels when the Menu is repeatedly opened into a Category and closed without selecting
- Advanced dropdown stops applying the Search Filter while the search text remains after clicking the header back Button during a Search
- SRP Batcher ignores ShadowCaster pass when Fallback shader has mismatched CBUFFER layout
Add comment