LocationServiceStatus

I’m relatively new to Unity and I have been trying to debug my code for a while now, and I think I found the problem but would like some input. From an example on the Unity docs, I’m using Input.location.status == LocationServiceStatus.Initializing. However, when I Debug.Log Input.location.status, it prints out Initializing. The LocationServiceStatus.Initializing says it is equal to 1. This makes them not equal, so my loop will not execute. My next step will be to try converting Input.location.status to a string, then comparing to the string “Initializing”. Any thoughts or suggestions as to why this happens?

So I answered my own question, the loop is executing correctly. I had just misplaced a debug statement.