Does not implement interface member 'IARFrame.HitTest()'


I am using Unity 2019.4.28f1 and ARDK 1.0.1

I have followed Basic Occlusions Tutorial (Niantic AR Development Kit (ARDK): Basic Occlusions Tutorial).

But I am getting the error message

‘_NativeARFrame’ does not implement interface member ‘IARFrame.HitTest()’
‘_SerializableARFrameBase’ does not implement interface member ‘IARFrame.HitTest()’

after adding the following code in both scripts its worked. I hope this may help someone facing the same problem.

        public object HitTest()
            return null;

Hello Liju, I tried reproducing the errors that you mentioned with the Occlusions Tutorial but wasn’t able to reproduce them. At what point did you receive these errors? Also, can you please provide more information about your local environment (e.g. Host computer OS, etc.)?

PFA, here is my system info

OS: Windows 10 Pro
Processor: Intel Core i9
RAM: 32 GB

Unity Android(Mobile 3d)
Unity 2019.4.28f1 and ARDK 1.0.1

Hello liju, I’m glad that you’ve found a work around. I wasn’t able to recreate the issue, but thanks for posting it to the community.

1 Like