Reproduction steps:
1. Open the attached “IN-150358” project
2. Run custom build script (BugHunt > Run Oracle)
3. Wait for the player build triggered by the runner to finish
4. Open the Editor.log
5. Find the line BUGHUNT_DBG idea304 PrepareForBuild AddPrevious path=... hit=1
6. Inspect the next line BUGHUNT_DBG idea304 after Add dirs=... sawPath=...
Actual result: BuildPlayerOptions.previousBuildReportDirectories is empty after AddPreviousBuildReportDirectory returns without throwing
Expected result: BuildPlayerOptions.previousBuildReportDirectories contains the added path (sawPath=True), per the API documentation ("Adds a build report directory to BuildPlayerOptions._previousBuildReportDirectories for this build")
Reproducible with: 6000.6.0b1, 6000.6.0b8, 6000.7.0a4
Couldn't test with: 6000.0.81f1, 6000.3.22f1, 6000.5.5f1 (API does not exist; compile error CS1061 on AddPreviousBuildReportDirectory)
Reproducible on: Windows 11, Ubuntu 24.04.4
Not reproducible on: Not tested on other platforms