How to get image url from matrix field I have an image in a matrix-field, but can't get the url from it.
dump(block.image.one().url) says NULL. My code is: 

{% if entry.hero %}
  {% for block in entry.hero %}
    {% if block.type == 'hero' %}
      {% set heroImage = block.image.one() %}
      &lt;div class="cell hero center padding-1" style="background-image: url({{ heroImage.url }});"&gt;
      &lt;/div&gt;
    {% endif %}
  {% endfor %}
{% endif %}


image.one() or image.first(), as well as .url or .getUrl() doesn't work the same.

What works though is {{ block.image.one().folderPath }}{{ block.image.one().filename }}

Does anyone know why? I'm on Craft CMS 3.3.15
The asset volume needs to have public urls enabled. Thanks seb.