Hello,
we are having an issue since Unity 2022.3.5+ with WebGL cloud build (and also local builds) where Unity adds a “hash” to the scene asset bundle .manifest files when building asset bundles. This makes the builds crash and not be able to find the correct files.
The bug only appears for the scene asset bundle files where the name of the files are usually “scenes_blah_blah” where their manifest file becomes “scenes_blah_blah_a32bitHash”.
This has been happening for a while and it made us create a script where we manually correct these files before continuing the build.
We have checked our scripts and we could not find any custom manipulation of the manifests. That being said, if we change the Unity version to 2022.3.4 and lower, this problem does not happen.
Here is the log for one of the failed builds. The main lines to look for in the build are:
[warning] [2024-03-07T08:44:23Z - Unity] EXCEPTION: FileNotFoundException: Could not find file "/BUILD_PATH/sevenshapes.sevenshapes2019.ssd2019_ci_qa04/SevenShapesSchool/AssetsBundle/WebGL/basegame/scenes_5s_game_construction.manifest"
[error] [2024-03-07T08:44:23Z - Unity] ERROR: executeMethod method UnityEditor.CloudBuild.Builder.Build threw exception.
[error] [2024-03-07T08:44:23.550Z] - 7.3.35.2.7.4 - FATAL: ! Unity player export failed!


