Batchmode web build fails when Name Files As Hashes is enabled

I created a bug report for this (IN-147913), but because I haven’t found anything on this topic for newer Unity versions, I thought it might help to post it here. Maybe someone knows more.

  1. Create new URP project
  2. Create Web build profile
    2.1. Enable Name Files As Hashes
  3. Save project and exit Unity
    3.1. (optional) delete Library folder to mimic same behaviour as cloud automation build
  4. Trigger a build in batchmode. Example:

"C:\Program Files\Unity\Hub\Editor\6000.5.3f1\Editor\Unity.exe" -logFile "C:\Entwicklung\Unity\build.log" -projectPath "C:\Entwicklung\Unity\HashnamesTest53" -batchmode -activeBuildProfile "Assets/Settings/Build Profiles/Web.asset" -build "C:\Entwicklung\Unity\HashnamesTest53\Builds" -quit

  1. Wait until everything has finished

Expected Result: Successful build
Actual Result: Build failed. Error in logfile (attached): “Internal build system error. Backend has requested a buildprogram run 6 times.”

Building regular with the Editor open works. Only batchmode is not working. the build also fails when using Cloud Automation Build. That’s why I tested the local batchmode.

Tested with Unity versions:

  • 6.5.3 (fail)
  • 6.5.2 (fail)
  • 6.4.3 (fail)
  • 6.6.0b3 (success)
  • 6.3.19 (success)

Do you have the IN number or link that you could add to the post? I know the issue submission emails are currently delayed.


PS: Wenn schon “Entwicklung”, dann sollte der Builds Ordner konsequenterweise “Ausgaben” heißen. :wink:
(oder “Ausleitungen” in österreichischer IT Dialektik)

I edited the post and added the IN number.


I like my folder “Entwicklung”, it sounds good :smiley:
But a folder called “Ausgaben” or even “Ausleitungen”, oh no, that would really confuse me each time I want to find my builds.