Library/PackageCache/com.unity.inputsystem/InputSystem/NativeInputRuntime.cs

I porting a game to vision pro . Game working at Editor .

I get this error when I take build

Library/PackageCache/com.unity.inputsystem/InputSystem/NativeInputRuntime.cs(408,26): error CS1061: ‘InputAnalytics.IInputAnalytic’ does not contain a definition for ‘TryGatherData’ and no accessible extension method ‘TryGatherData’ accepting a first argument of type ‘InputAnalytics.IInputAnalytic’ could be found (are you missing a using directive or an assembly reference?)

Unity Version Version : 6000.0.19f1 preview
Input System Version : 1.10.0
Apple visionOS XR Plugin Version : 2.0.0-pre.11 ·
Renderer Pipeline : Built-in

In Input System v1.11.0 there is a bug fix:

  • Fixed Package compilation when Unity Analytics module is not enabled on 2022.3. ISXB-996