<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SceneView Not Rendering Graphics or 3D Map When Using .geoTracking in World Scale AR (Swift iOS) in Swift Maps SDK Questions</title>
    <link>https://community.esri.com/t5/swift-maps-sdk-questions/sceneview-not-rendering-graphics-or-3d-map-when/m-p/1643331#M564</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Thank you for your suggestions,&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.esri.com/t5/user/viewprofilepage/user-id/758376" target="_blank"&gt;@Destiny_Hochhalter&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;. Will give a try&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 19 Aug 2025 16:43:21 GMT</pubDate>
    <dc:creator>nvsraju</dc:creator>
    <dc:date>2025-08-19T16:43:21Z</dc:date>
    <item>
      <title>SceneView Not Rendering Graphics or 3D Map When Using .geoTracking in World Scale AR (Swift iOS)</title>
      <link>https://community.esri.com/t5/swift-maps-sdk-questions/sceneview-not-rendering-graphics-or-3d-map-when/m-p/1642839#M556</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I'm working on an AR project using ArcGIS Runtime SDK for iOS with a &lt;STRONG&gt;world-scale ARSCNView&lt;SPAN&gt; setup. I have a SceneView&lt;SPAN&gt; configured and everything works fine when using .worldTracking&lt;SPAN&gt; mode — the 3D map and graphics load and display as expected.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;However, when I switch the tracking mode to .prefergeoTracking&amp;nbsp; or .geoTracking&amp;nbsp;using:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;&lt;STRONG&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &lt;SPAN&gt;WorldScaleSceneView&lt;SPAN&gt; (trackingMode&lt;SPAN&gt;: .preferGeoTracking&lt;SPAN&gt;){ proxy &lt;SPAN&gt;&lt;STRONG&gt;in }&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/PRE&gt;&lt;P&gt;the scene goes blank — &lt;STRONG&gt;no graphics or 3D map content appears. I’ve already ensured location permissions are granted, and the GPS is working. But still, the scene remains empty when using geo-tracking.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Has anyone else faced this issue? Is there something additional I need to configure for .geoTracking to render the scene correctly?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Any help or guidance would be greatly appreciated!&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks in advance!&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Aug 2025 12:52:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/swift-maps-sdk-questions/sceneview-not-rendering-graphics-or-3d-map-when/m-p/1642839#M556</guid>
      <dc:creator>nvsraju0979</dc:creator>
      <dc:date>2025-08-18T12:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: SceneView Not Rendering Graphics or 3D Map When Using .geoTracking in World Scale AR (Swift iOS)</title>
      <link>https://community.esri.com/t5/swift-maps-sdk-questions/sceneview-not-rendering-graphics-or-3d-map-when/m-p/1643032#M560</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/929504"&gt;@nvsraju0979&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thanks for your question. There are a few possibilities why 3D content may appear using the `worldTracking` tracking mode and not when using `geoTracking`.&lt;BR /&gt;&lt;BR /&gt;The `geoTracking` mode uses the `ARGeoTrackingConfiguration` which has a few requirements:&lt;BR /&gt;- The device used and geographic area must support geotracking.&lt;BR /&gt;- The ARCoachingOverlayView dismisses and geotracking localization completes.&lt;BR /&gt;- The trackingMode should be set once. Updating the trackingMode after the WorldScaleSceneView is initialized is not supported.&lt;BR /&gt;&lt;BR /&gt;For the scene view and graphics to render:&lt;BR /&gt;- Check if there is a required API key that is not set.&lt;BR /&gt;- Add the scene view graphics &lt;STRONG&gt;after&lt;/STRONG&gt;&amp;nbsp;geoTracking localization.&lt;BR /&gt;&amp;nbsp; - To check this, use the `WorldScaleSceneView.onGeoTrackingStatusChanged(perform:)` closure. This code snippet shows an example of adding a graphic around the initial location once geoTracking is localized.&lt;/P&gt;&lt;LI-CODE lang="swift"&gt;    @State private var isLocalized = false
    
    var body: some View {
        WorldScaleSceneView(trackingMode: .geoTracking) { _ in
            SceneView(scene: scene, graphicsOverlays: [graphicsOverlay])
        }
        .onGeoTrackingStatusChanged { geoTrackingStatus in
            isLocalized = geoTrackingStatus.state == .localized
        }
        .task(id: isLocalized) {
            guard isLocalized else { return }
            
            let locationManager = CLLocationManager()
            if locationManager.authorizationStatus == .notDetermined {
                locationManager.requestWhenInUseAuthorization()
            }
            
            try? await locationDataSource.start()
            
            // Retrieve initial location.
            guard let initialLocation = await locationDataSource.locations.first(where: { @Sendable _ in true }) else { return }
            
            // Put a circle graphic around the initial location.
            let circle = GeometryEngine.geodeticBuffer(around: initialLocation.position, distance: 20, distanceUnit: .meters, maxDeviation: 1, curveType: .geodesic)
            graphicsOverlay.addGraphic(Graphic(geometry: circle, symbol: SimpleLineSymbol(color: .red, width: 3)))
            
            // Stop the location data source after the initial location is retrieved.
            await locationDataSource.stop()
        }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Aug 2025 21:47:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/swift-maps-sdk-questions/sceneview-not-rendering-graphics-or-3d-map-when/m-p/1643032#M560</guid>
      <dc:creator>Destiny_Hochhalter</dc:creator>
      <dc:date>2025-08-18T21:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: SceneView Not Rendering Graphics or 3D Map When Using .geoTracking in World Scale AR (Swift iOS)</title>
      <link>https://community.esri.com/t5/swift-maps-sdk-questions/sceneview-not-rendering-graphics-or-3d-map-when/m-p/1643331#M564</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Thank you for your suggestions,&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.esri.com/t5/user/viewprofilepage/user-id/758376" target="_blank"&gt;@Destiny_Hochhalter&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;. Will give a try&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Aug 2025 16:43:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/swift-maps-sdk-questions/sceneview-not-rendering-graphics-or-3d-map-when/m-p/1643331#M564</guid>
      <dc:creator>nvsraju</dc:creator>
      <dc:date>2025-08-19T16:43:21Z</dc:date>
    </item>
  </channel>
</rss>

