Search Issue Tracker




Found in





Issue ID




Builds fail without a useful error message when building a project with invalid product name



How to reproduce:
1. Create a new project
2. Open the Player Settings (Edit > Project Settings…)
3. Change the Product Name to “CON”
4. Build
5. Check the Console window

Expected result: The errors in the Console window show useful information on why the build failed
Actual result: “Updating the timestamp on the file failed: The parameter is incorrect.” error is thrown in the Console window, not stating that the .exe file can not be named after any of the names reserved by Microsoft

Reproducible with: 2020.3.44f1, 2021.3.18f1, 2022.2.5f1, 2023.1.0b2

Reproduced on: Windows 10 Enterprise

Note: The Product Name can be changed to any of these “CON, PRN, AUX, NUL, COM0, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT0, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, LPT9”

  1. Resolution Note:

    Closing as this is a duplicate of an issue which has been fixed in the following Unity versions :
    2020.3.46f1 , 2021.3.20f1 , 2022.2.9f1 , 2023.1.0b5 , 2023.2.0a3
    Duplicate of another internal issue: UUM-21918: [Game Core] Illegal filename characters in product name result in no log file being generated on devkit

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.