Home Game Development Problem with customized url bundle in construct template cocos 3.6.x – Cocos Creator

Problem with customized url bundle in construct template cocos 3.6.x – Cocos Creator

0
Problem with customized url bundle in construct template cocos 3.6.x – Cocos Creator

[ad_1]

Hi, I wish to load asset bundle in different server, I modify utility.js and cross full url for asset bundle like this:

overrideSettings: {
  property: {
    preloadBundles: [
      { bundle: staticDomain + 'assets/main' },
      { bundle: staticDomain + 'assets/resources' },
    ],
  },

The downside is in cocos 3.6 it get different bundle referred to as inner. It all the time use present area to create inner url useful resource. I wish to add customized url for that bundle too, however I don’t discover any setting to override that.

The present workaround is I’ve to set mainBundleIsRemote: true in construct config, set the server url. So it will possibly set the url appropriately. But I feel distant bundle isn’t supposed to make use of this fashion.

So how can I set customized url for inner bundle? btw I don’t see this inner bundle has been loaded in cocos 3.5.1

[ad_2]

LEAVE A REPLY

Please enter your comment!
Please enter your name here