Search Issue Tracker

Fixed in 3.0.1

Votes

0

Found in [Package]

3.0.0-preview.3

Issue ID

1200753

Regression

Yes

[ARKit] Definition for 'kXRInterfaceMatchAnyVersion' is missing when ARKit XR Plugin and Input System packages are installed

Package: ARKit

-

How to reproduce:
1. Create a new Unity project
2. Import the packages "Input System" (version 1.0.0-preview.3) and "ARKit XR Plugin" (version 3.0.0-preview.3)
3. Observe the error in the Console window

Expected result: "XRUtilities" contains a definition for "kXRInterfaceMatchAnyVersion"
Actual result: an error about the missing definition for "kXRInterfaceMatchAnyVersion" is thrown (see attached screenshot)

Reproducible with: 2019.2.14f1 (ARKit XR Plugin version 3.0.0-preview.3), 2019.3.0f1 (ARKit XR Plugin version 3.0.0-preview.3), 2020.1.0a14 (ARKit XR Plugin version 3.0.0-preview.3)
Could not test with: 2018.4.13f1

Notes:
1. In the affected Script (InputLayoutLoader.cs) in line 33, changing "kXRInterfaceMatchAnyVersion" to "InterfaceMatchAnyVersion" removes the error from the Console
2. I could not test with Unity 2018.4.13f1 due to the needed package version being unavailable

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.