Reproduction steps:
1. Open the “IN-113016” project
2. In Build Profiles (File > Build Profiles), activate the Web Build Platform
3. In the Scene List, add and enable only the “Scenes/GameplayScene” Scene
4. Make a Clean build in any directory (Down arrow next to the Build button > Clean Build…)
5. Note the size of the “build-directory/Build/build-name_Gameplay.wasm.br” file
6. In the Scene List again, add and/or enable only the “empty_scene” Scene
7. Make a Clean build in any/same directory
8. Observe the size of the “build-directory/Build/build-name_empty-scene.wasm.br” file
Expected result: The size of the “build-name_empty-scene.wasm.br” file is under 2 MBs
Actual result: The size of the file is around 4-5 MBs
Reproducible with: 6000.0.58f1, 6000.2.5f1, 6000.3.0b2
Reproducible environments: macOS 15.6.1
Not reproducible environments: No other environments tested