GVReticle warning

Hi! im getting a warning when i try to build a project for android using GoogleVR like this
“Assets/GoogleVR/Scripts/UI/GvrReticle.cs(68,25): warning CS0252: Possible unintended reference comparison. Consider casting the left side expression to type `GvrReticle’ to get value comparison” and the buld process stucks!

What it means? thank you!

What version of Unity are you using? What version of Google Unity SDK are you using as well?

i`m having same problem with GVR 1.20 AND UNITY 5.5.1

You must not have fully updated to GVR 1.20 because GvrReticle.cs does not have 68 lines in 1.20:
https://github.com/googlevr/gvr-unity-sdk/blob/master/GoogleVR/Legacy/Scripts/UI/GvrReticle.cs

Notice the message:
[System.Obsolete(“GvrReticle is deprecated. Use GvrReticlePointer instead.”)]

Here’s a guide on upgrading GoogleVR: (cardboard > gvr is same as gvr > gvr)

And a video on 1.20 with the new input system example:

Nevertheless, you can fix this error by editing line 68. Notice if you mouse over, it tell us that we need to cast the type on the left hand side:

if ((GvrReticle)GazeInputModule.gazePointer == this) {