Reproduction steps:
1. Open the attached project "ReproProj"
2. In menu bar, click Tools > Build Asset Bundles
3. Observe the Console
4. Note that the size of the bundle is printed to the Console (approximately 6025)
5. Open “/Assets/Editor/ShaderPreprocessor.cs”
6. Comment out lines 20 and 21
7. Repeat steps 2 and 3
Expected result: Printed bundle size changes to approximately 22635
Actual result: Same bundle size is printed in the Console
Reproducible with: 6000.0.64f1 6000.3.1f1, 6000.4.0a1 (b27b8eafe426)
Not reproducible with: 6000.5.0a3
Fixed in 6000.4.0a2 (417aa67423b3)
Testing environment: macOS Sequoia 15.4.1 (M1)
Not reproducible on: Windows 10 Enterprise 21H2
Note:
- With Windows only reproducible on 6000.0.62f1, but fixed in the latest versions