<p dir="auto">When adding something like the following to pubspec.yaml:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="flutter:
  assets:
    - ../../../../some_file"><pre class="notranslate"><code class="notranslate">flutter:
  assets:
    - ../../../../some_file
</code></pre></div>
<p dir="auto">The flutter tool appends that full path to the <code class="notranslate">flutter_assets</code> directory path and ends up writing the file outside of the <code class="notranslate">flutter_assets</code> directory(e.g to <code class="notranslate">flutter_assets/../../../../some_file</code>).</p>
<p dir="auto">Loading the asset at runtime fails.</p>
<p dir="auto">This was specifically happening with font assets.  A font folder was unexpectedly being created as a sibling to the build directly.</p>