Basemap and layers not showing

119
7
Sunday
RobertEkroll
Emerging Contributor

When I configure a scene in Unity using the ArcGIS Maps SDK for Unity, none on the services I add show.
I have configured a token, and I am able to choose a basemap (they are colored in the Map Creator). But none of the basemaps I select show at all. The only thing that happens is when viewing the scene (that is empty) the CPU is going up to 20-30% and staying there.

My setup is Windows 11, the 2025 2H release.
I have tried to use Unity 2022.3.62 and in 6000.3 (6.3). Both is LTS versions.

In Unity 6.3 I tried both the 2.1 and 2.2 versions of ArcGIS Maps SDK for Unity.

I am not sure what to check, or what to try, next. Hope someone have some ideas or clues about what is happening.

0 Kudos
7 Replies
and1
by Esri Contributor
Esri Contributor

Hi @RobertEkroll , since the basemap gallery are colored, that means at least we know API key is working correctly. How was your ArcGIS camera configured? 

0 Kudos
RobertEkroll
Emerging Contributor

The ArcGIS camera was configured according to the tutorial Display a map (UI) | ArcGIS Maps SDK for Unity | Esri Developer

Skjermbilde 2025-12-15 200131.png

0 Kudos
and1
by Esri Contributor
Esri Contributor

Thanks for showing the screenshot. The camera values looked correct. Could you also show another screenshot of the inspector window with ArcGISCamera game object being selected?

0 Kudos
RobertEkroll
Emerging Contributor

The ArcGISCamera in Inspector below. But I think that is OK - see text below image

RobertEkroll_0-1765834611961.png

Using Unity 2022.3.62 and SDK 2.2.0 - I also tried to create a new API token (I use the "new" developer portal - Location Platform). No luck, but I then tried to create an OAuth2 login, and when using the 2 hour temporary token, the selected basemap showed.

The API key have more privileges than the OAuth2. I have no layers except for basemap.

Do the API key need some special config?

 

0 Kudos
and1
by Esri Contributor
Esri Contributor

Could you check if the basemap service is on when you created an API key? It should be enabled by default though.

and1_0-1765840986813.png
https://developers.arcgis.com/documentation/security-and-authentication/api-key-authentication/tutor...

 

 

0 Kudos
RobertEkroll
Emerging Contributor

All services are enabled

RobertEkroll_0-1765902192973.png

 

0 Kudos
and1
by Esri Contributor
Esri Contributor

If that's enabled, at least the basemap should be displayed. Could you go to Edit > Project Settings, in the ArcGIS Maps SDK tab, and enter your API key? Then check the if you can load these sample scenes from Assets/Samples/ArcGIS Maps SDK for Unity/2.2/Sample Content/Scenes/ComponentGlobal.unity  ?

0 Kudos