September 25, 2018 at 9:52 pm #5120
Hi, trying to get up and running with the Explore AR Unity template and app.
Using Unity 2017.4.11f1 LTS (not sure if that’s an issue)
I have input my mapbox token and entered my App ID and Api Key in Explore AR Config.
1. play the app in Unity OR run the app from the app store and
2. Login to the running app (in either place)
I get authenticated and the app allows me to select a Project.
However, once inside, I do not see any Quests (not sure if using the right terminology) such as “Vancouver Scavenger Hunt” or “Monster Audio Tour”. Clicking on either Tasks or Tours is completely empty.
Feels like I need to confirm these are working before I try to generate my own stuff.
Unity is complaining about not having a Google Poly API Key — not sure if that’s relevant.
GeorgeSeptember 26, 2018 at 9:06 am #5121
A correction to the above. The default Quests (Vancouver and Monster) DO show up in the Explore AR app from the play store, so I’m guessing there’s some setting or detail in Unity that is keeping them from showing up when I test direct from Unity. Any ideas?
GeorgeSeptember 26, 2018 at 11:13 am #5122
Hi George – sounds like there must be some errors in your build, possibly related to Google Poly. Could you let me know if there are any error messages in the console?September 26, 2018 at 11:31 am #5123
Thanks for looking into it.
One error when building, copied below. The tutorial docs and vids didn’t mention anything about needing this. Would this be a showstopper? I started looking into creating credentials on Google, and it’s asking whether I want to access User Data or Application Data — which one would motive require? Thanks!
Exception: API Key not configured. Set your API key in in Poly Toolkit Settings (‘Runtime’ section).
1 authConfig, Nullable1 cacheConfig) (at Assets/PolyToolkit/Internal/PolyMainInternal.cs:125)
1 authConfig, Nullable1 cacheConfig) (at Assets/PolyToolkit/Internal/PolyMainInternal.cs:110)
1 authConfig, Nullable1 cacheConfig) (at Assets/PolyToolkit/Scripts/PolyApi.cs:47)
PolyToolkit.PolyToolkitManager.Awake () (at Assets/PolyToolkit/Scripts/PolyToolkitManager.cs:28)September 26, 2018 at 11:38 am #5124
For now you can probably just remove the “Google Poly” node from the “App” node in your template just to make sure it works. If you’d like to use the Google Poly features, we can add that back in and get you the right license.
This is quite a new feature and the documents haven’t been updated. Since we tested with Poly already configured, we must have missed this issue. We’ll get a fix in ASAP.September 26, 2018 at 11:48 am #5125
Thanks. I made the Google Poly node invisible in the Inspector, and the app launches in Unity with no errors, but still no Tours.
Apologies in advance if I’ve overlooked something critical. BTW, I’m using Unity 2017.3.1f1 now since that was indicated on github.September 26, 2018 at 12:51 pm #5126
1. Are there any more errors in the console? You may need to delete the Poly node entirely.
2. Can you send a snapshot of your App Config?September 26, 2018 at 2:48 pm #5128
I posted a reply with some img tagged screenshots, but it doesn’t seem to be hitting the board. Can you see it? If not, I can try reposting a different way, unless it’s being reviewed/approved. Thanks.September 26, 2018 at 2:51 pm #5129
Hm, I don’t see any.September 26, 2018 at 3:46 pm #5131
Trying this again.
1. No more errors. Just a few warnings:
The referenced script on this Behaviour (Game Object ‘Mapbox Location Cache Driver’) is missing!
2. See these screenshots:
ibb.co/cCGQK9 – app setup
ibb.co/nwg36p – app config
ibb.co/mgmgsU – app logged in
ibb.co/mb8uCU – No Tours
Also, still not seeing any tours even if Google Poly node is deleted completely.
Thanks.September 26, 2018 at 4:00 pm #5132
So I just tried your app config and I got both tours. Try bypassing the login screen by changing the “Dynamic Config” setting to “No” to see if that helps. Also check your Scripts (Menu -> Settings -> Scripts) to see if those are loading properly.
Those warnings are usually not a big deal, although it’s a little strange that Mapbox Location Cache Driver is missing. That shouldn’t be able to cause the tours to disappear, but it’s something we’d want to figure out.September 26, 2018 at 6:26 pm #5133
Thanks for trying, but none of that works. Still no Tours, and no Scripts under Settings.
To recap, these are my steps.
– Open fresh Zip of Explore-AR templates in Unity
– Enter Mapbox token
– Enter App ID and Api Key in Explore AR Config
– Delete Google Poly node
– Set Dynamic Config to No
– Press Play in Unity: no need to login, no errors in Console, but no Tours or Scripts
Am I missing a step?
Have you tried it with a fresh set of templates?
Thanks.September 27, 2018 at 9:02 am #5134
We just ran through the setup steps with a new .zip file and it seems to work. Maybe you could send us your project and we’ll take a look?September 27, 2018 at 12:39 pm #5135
Thanks I appreciate that. Try this
we.tl/t-AqexzyAuT8September 27, 2018 at 3:50 pm #5136
I ran your project on Unity 2017.4.6f1 and tours and scripts loaded up for me. Perhaps you could try going to (File->Build Settings) and switching platform to Android or iOS.
I also noticed on the project that the map visualizer was missing. If this is the case, navigate to 2D Mapbox -> Swivel-> MapBoxTileLayer-> MapViewWrapper in the hierarchy and add Explore Visualizer to the Map Visualizer.
- You must be logged in to reply to this topic.