I am using the SimpleCloudHandler.cs sample code with some minor changes. I made the mTargetMetadata a public static string so that I could display the metadata in my text object on the gui canvas. It works perfectly until you press the restart scanning button in the upper right hand corner of the app. That chrashes the app ( camera no longer is live). but doesn't return from the GUI.button call to set the debug.log message. I am using Unity 2017.3 on windows 10 with an LG V30 in usb debugging mode. Does anyone have a hint as to why attempting to restart scanning locks things up? I can provide the script, but the sample script does the same thing. very reproducable.
SOLVED!!
I am too impatient. If I wait a minute, it recovers and will rescan. I feel a little embarresed that I didn't wait long enough.
EDIT
Well sort of. It will recognized a different target or even the same target again, however if you point your camera away from the target and then hit rescan, the camera is no longer live. Strangely enough, when you repoint it a a target it will recognize it and the camera becomes live again. I am not sure what is happening here.
I have it all working now, so
I have it all working now, so SOLVED. It was a problem in my GUIStyle overload.
I have it all working now, so
I have it all working now, so SOLVED. It was a problem in my GUIStyle overload.