By Orenc117
on Tue, 01/27/2015 - 17:44
I was just trying out the new Vuforia Beta in Unity. I followed most of the guides and got stuck on this one:
Every time I try to Play in the Unity Editor I get a debug message saying "QCAR Initialization Failed" and a message in the scene view saying "No network available. Please make sure you are connected to the internet".
That issue doesn't persist when I actually build the app to my phone.
Is there something I'm missing in regards to getting it to work in unity play mode?
Thanks.
Unity Play Mode Network Error
Is the computer that you're developing on connected to the internet?
Unity Play Mode Network Error
Yep. Developing on the same computer that I'm posting from. It is hardwired into the modem.
Unity Play Mode Network Error
Are you using a valid License Key taken from your beta License Manager ?
https://developer-beta.vuforia.com/targetmanager/licenseManager/licenseListing
Unity Play Mode Network Error
The License Key should be valid. I went through the process of creating it, copy pasting it from the License Manager into the App License Key field on the ARCamera.
I even went through the process again just to make sure.
Unity Play Mode Network Error
You can leave the "Dont use for play mode" checkbox unchecked; that should not play any role in this issue.
Since the issue only shows up in Play Mode but not on device, and you confirmed that you're using a valid license key,
Unity Play Mode Network Error
The mobile device and the computer share the same network. The mobile device doesn't even have a data plan, so it relies on our wifi. Nothing is blocked on our network and I even tried plugging in directly to the modem.
Still the same result.
Unity Play Mode Network Error
OK. So, if it's not an issue with your network(s), we should try to isolate the issue to its narrowest scope with a minimal repro-case,
i.e.:
could you try the following quick test without using any Object Reco prefab or dataset:
Unity Play Mode Network Error
See also my PM.