title: TypeError: Cannot read property 'load' of undefined at cc.resources
body: <p>When I try to use <code>cc.resources.load(arg1, arg2)</code>, I get this error:</p>
  <blockquote>
  <p><code>Uncaught (in promise) TypeError: Cannot read property 'load' of undefined</code></p>
  </blockquote>
  <p>As far as I know, it is a built-in Cocos Creator class and the <a href="https://docs.cocos.com/creator/manual/en/scripting/load-assets.html" rel="nofollow noreferrer">documentation</a> itself says to use it. When I try to call <code>cc.log(cc.resources)</code>, it shows <code>undefined</code> in the console. A folder called &quot;resources&quot; exists in my project and it's not empty.</p>