<?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: Wait for World_Imagery Layer Load in ArcGIS Maps SDK for Unity Questions</title>
    <link>https://community.esri.com/t5/arcgis-maps-sdk-for-unity-questions/wait-for-world-imagery-layer-load/m-p/1250931#M413</link>
    <description>&lt;P&gt;One method you could consider is to check colliders using raycast.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 24 Jan 2023 18:29:29 GMT</pubDate>
    <dc:creator>Jade</dc:creator>
    <dc:date>2023-01-24T18:29:29Z</dc:date>
    <item>
      <title>Wait for World_Imagery Layer Load</title>
      <link>https://community.esri.com/t5/arcgis-maps-sdk-for-unity-questions/wait-for-world-imagery-layer-load/m-p/1250433#M411</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm currently attempting to create a first-person simulation of a city, where one can walk around. However, I'm having trouble with the world_imagery layer mesh colliders loading. The player is falling below the world, due to the colliders not being available immediately.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My current solution is to wait for a fixed amount of time and hope they are loaded, then spawn the player in. However, I'm hoping for a more deterministic system using an event. I've looked into the ViewStateChanged event and LoadStatusChanged event. Both reach active or loaded before there is a mesh available. Is there another component I could use or a different approach I should try?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your time!&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2023 16:34:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-maps-sdk-for-unity-questions/wait-for-world-imagery-layer-load/m-p/1250433#M411</guid>
      <dc:creator>BenSBaker</dc:creator>
      <dc:date>2023-01-23T16:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: Wait for World_Imagery Layer Load</title>
      <link>https://community.esri.com/t5/arcgis-maps-sdk-for-unity-questions/wait-for-world-imagery-layer-load/m-p/1250931#M413</link>
      <description>&lt;P&gt;One method you could consider is to check colliders using raycast.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2023 18:29:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-maps-sdk-for-unity-questions/wait-for-world-imagery-layer-load/m-p/1250931#M413</guid>
      <dc:creator>Jade</dc:creator>
      <dc:date>2023-01-24T18:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: Wait for World_Imagery Layer Load</title>
      <link>https://community.esri.com/t5/arcgis-maps-sdk-for-unity-questions/wait-for-world-imagery-layer-load/m-p/1251250#M415</link>
      <description>&lt;P&gt;Based on your suggestion, I implemented a Coroutine that waits until the Physics Raycast returns true. The player is initially higher than the ground, and using a small max ray cast distance prevents it from being triggered from the initial load of the layer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the help!&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 13:55:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-maps-sdk-for-unity-questions/wait-for-world-imagery-layer-load/m-p/1251250#M415</guid>
      <dc:creator>BenSBaker</dc:creator>
      <dc:date>2023-01-25T13:55:57Z</dc:date>
    </item>
  </channel>
</rss>

