Include the following details (edit as applicable):
- Issue category: Real-time Mapping-Depth
- Device type & OS version: Android / iOS
- Host machine & OS version: Windows
- Issue Environment : Unity Remote / Unity Mock
- Xcode version:
- ARDK version: ardk-2.0.0
- Unity version: 2021.3.4f1
Description of the issue:
Hi there,
I am currently trying out the Basic Occlusion Tutorial (Tutorial: Basic Occlusions — Niantic Lightship Augmented Reality Developer Kit release-2.0 documentation), but after adding and compiling the example script I get the following Error Message:
Assets\OcclusionsTutorial.cs(41,21): error CS0103: The name ‘PlatformAgnosticInput’ does not exist in the current context
referencing this Codesnippet:
void Update()
{
//if there is a touch call our function
if (PlatformAgnosticInput.touchCount <= 0) { return; }
var touch = PlatformAgnosticInput.GetTouch(0);
if (touch.phase == TouchPhase.Began)
{
TouchBegan(touch);
}
}
I had the same error when I tried to write the script on my own, but the problem remained after copypasting the example script. I really havo no clue why that might happen.
Hopefully you can help me out!
Greetings