Issues Dynamically Loading Assets in Production

Issues Dynamically Loading Assets in Production
0

Hello!

When we released the latest version of our game (3rd release, but first time with a large number of players), many, but not all, users randomly had issues dynamically loading a wide range of assets (via cc.loader.loadRes or cc.loader.loadResDir). This occurs at all different points throughout the game (when trying to load assets), and only occurs within our production environment. The game is built on Cocos Creator 2.0.9 for a web-desktop platform and is published to Facebook. We enable MD5 when building the project and have confirmed new hashes for main.js, project.js, and settings.js.

We are currently in the process of trying:

  1. Deactivating our CDN’s temporarily
  2. Incorporating cc.loader.md5Pipe.transformURL(url) when loading assets

But would like to ask for any additional ideas in solving this issue because we are quite frankly stumped :smiley:

Thank you in advance for any help!

P.S. Separate but perhaps related topic: Whenever we build our project in Jenkins using the following command, the hashes for the built files do not change:
C:/CocosCreator/CocosCreator.exe --path . --build "platform=web-desktop;debug=false;md5Cache=true;sourceMaps:false;buildPath=./release"

Any ideas why?