@galacean/engine-loader 1.6.0-alpha.2 → 1.6.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.js CHANGED
@@ -6608,9 +6608,7 @@ var ShaderLoader = /*#__PURE__*/ function(Loader) {
6608
6608
  return engineCore.Shader.find(builtinShader);
6609
6609
  }
6610
6610
  return ShaderChunkLoader._loadChunksInCode(code, url, resourceManager).then(function() {
6611
- var shader = engineCore.Shader.create(code);
6612
- // @ts-ignore
6613
- shader._registerPath(url);
6611
+ var shader = engineCore.Shader.create(code, undefined, url);
6614
6612
  return shader;
6615
6613
  });
6616
6614
  });