Reproduction steps:
1. Open project “MakeBundleTestOH.zip”
2. Click “Test\MakeBundle” through the Main menu
3. Open the Activity Monitor and observe Memory usage next to Unity
Expected result: the memory does not increase
Actual result: the memory starts increasing until the AssetBundle is built
Reproducible with: 2021.3.31f1, 2022.3.10f1
Not reproducible with: 2023.1.0a20, 2023.1.16f1
Couldn’t test with: 2023.1.0a19, 2023.2.0b12, 2023.3.0a9 (due to compiler errors)
Reproducible on: macOS Ventura 13.2.1 (Intel), Windows 11
Not reproducible on: no other environment tested
Note: Couldn’t find the exact fixed version for the 2023.1 stream due to compiler errors in versions 2023.1.0a1 - 2023.1.0a19