<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kuku81kuku81</author_name>
  <author_url>https://blog.hatena.ne.jp/kuku81kuku81/</author_url>
  <blog_title>Django Girls and Boys 備忘録</blog_title>
  <blog_url>https://kuku81kuku81.hatenablog.com/</blog_url>
  <categories>
    <anon>Unity</anon>
    <anon>ML-Agents</anon>
    <anon>NavMesh</anon>
  </categories>
  <description>UnityのNavMeshAgentを使用していた時に発生したエラーについての解消方法についての内容です。 1. 発生したエラー内容 今回発生したエラー内容は以下の通りです。 &quot;GetRemainingDistance&quot; can only be called on an active agent that has been placed on a NavMesh.UnityEngine.StackTraceUtility:ExtractStackTrace () 2.エラー発生までの経緯 UnityのNavMeshAgentを使用して自動走行の強化学習を行おうとしていたのですが、学習のための道…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkuku81kuku81.hatenablog.com%2Fentry%2F2024%2F12%2F12_Unity_how_to_deal_with_NavMesh_related_errors&quot; title=&quot;【Unity】NavMeshを設定した環境で「&amp;quot;GetRemainingDistance&amp;quot; can only be called on an active agent that has been placed on a NavMesh.」のようなエラーが発生した場合の対応方法 - Django Girls and Boys 備忘録&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/k/kuku81kuku81/20220605/20220605115219.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-12-12 19:00:00</published>
  <title>【Unity】NavMeshを設定した環境で「&quot;GetRemainingDistance&quot; can only be called on an active agent that has been placed on a NavMesh.」のようなエラーが発生した場合の対応方法</title>
  <type>rich</type>
  <url>https://kuku81kuku81.hatenablog.com/entry/2024/12/12_Unity_how_to_deal_with_NavMesh_related_errors</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
