Reproduction steps:
1. Open the attached project “ReproProject”
2. Navigate to the Player settings (menu: Edit > Project Settings > Player)
3. Ensure this is the Product Name “DirectoryInvalid:”
4. Under (Other Settings > Identification), enable the “Override Default Package Name” option
5. Build the project
6. Observe the Console Window
Expected result: The build is completed successfully
Actual result: Build fails with error “System.IO.IOException: The directory name is invalid : 'C:\Users\Documents\IN-cases\DirectoryInvalid\DirectoryInvalid:_BurstDebugInformation_DoNotShip'
Reproducible with: 1.8.13, 1.8.14 (2022.3.26f1, 2023.2.19f1, 6000.0.0b16)
Not reproducible with: 1.8.12 (2021.3.37f1, 2022.3.26f1, 2023.2.19f1), 1.8.13, 1.8.14 (2021.3.37f1)
Reproduced on: Windows 11 23H2 (22631.3007), Windows 11 (10.0.22631) 64bit (user’s)
Not reproduced on: No other environment tested