Search code examples
c#unity-game-enginearcore

ARCore Unity: Assets/GoogleARCore/SDK/Scripts/Managers/TrackedPlaneManager.cs(113,5): warning CS0162: Unreachable code detected


Why am I getting this warning? None of my developed demo ARcore app is working.

Warning:

Assets/GoogleARCore/SDK/Scripts/Managers/TrackedPlaneManager.cs(113,5): warning CS0162: Unreachable code detected

I tried cloning from github the same file, but still got the same error.


Solution

  • I get the same error but it is not a show stopper. AR apps still work nevertheless. It has to do with the original google SDK code.