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
- Getting a deprecated package for JetBrains Rider pop up when opening or creating a project
- [Android] Volume level of the same audio file is different on Samsung Galaxy Tab A8 between 2023.3.0b3 and 2023.3.0b4
- ‘Expected end of value’ warning occurs when a property declaration includes five or more variable references
- Crash on BurstCompilerService::CompileAsync when entering Play mode in a specific scene
- InvalidOperationException when using Game Camera Preview in Scene window with a custom RenderGraph pass
Add comment