When I try to load an asset bundle using assetmanager.loadbundle in cocoscreator version3.7 from an remote server then this error is being displayed but when I tried the same thing in the cocoscreator version2.4.7 then it works fine.
Contents of the asset bundle folder I created:
=>Script.ts
=>Scene.scene
If we remove typescript file it works fine even in the 3.7 version but our requirement is to keep the script
Error: caught (in promise) Error: Error loading chunks:///_virtual/rollupPluginModLoBabelHelpers.js from chunks:///_virtual/script.ts (SystemJS Error#3 https://git.io/JvFET#3) GET chunks:///_virtual/rollupPluginModLoBabelHelpers.js net::ERR_UNKNOWN_URL_SCHEME
I got a similar error trying to load the asset bundle from the main scene on Safari iOS (mobile web). The game can be loaded properly on the desktop web but not mobile web. (tested with 3.7.0 & 3.7.2)
The bundle load request returned the following error:
TypeError: function is not a constructor (evaluating 'new EventTarget')
yes its from another project but of same version and this approach is working fine in the 2.4.7 version
Note:we are loading from an remote server, please check the attached git repo