Running Niantic maps in unity 6.0 has 'PlatformAgnosticInput' error

When I try to put the niantic map in unity 6.0 has following build error:

Library\PackageCache\com.niantic.lightship.maps\SampleAssets\Cameras\OrthographicCamera\OrthographicCameraController.cs(145,39): error CS0103: The name ‘PlatformAgnosticInput’ does not exist in the current context

as from this post

https://community.nianticspatial.com/t/platformagnosticinput-does-not-exist-occlusion-tutorial/2234

when I put using Niantic.ARDK.Utilities.Input.Legacy; In it it turns into error as:

Library\PackageCache\com.niantic.lightship.maps\SampleAssets\Cameras\OrthographicCamera\OrthographicCameraController.cs(8,15): error CS0234: The type or namespace name ‘ARDK’ does not exist in the namespace ‘Niantic’ (are you missing an assembly reference?)

so just wondering what to do with this problem, since it is working in unity 2022

Hi there,

Unfortunately, Maps does not support Unity 6 at this time. You’ll have to use Unity 2022 or Unity 2021 LTS versions if you intend on using Maps.

Kind regards,
Maverick L.