Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug Build failed HDRP Windows standalone

Discussion in '2022.1 Beta' started by Spikebor, Mar 18, 2022.

  1. Spikebor

    Spikebor

    Joined:
    May 30, 2019
    Posts:
    280
    It's internal build system error so I have no clue to resolve.
    I attached the debug log and editor log.
    Please look into it, thank you.
    Unity 2022.1.0b12.2880, HDRP, Windows 11

    Code (CSharp):
    1. Internal build system error. BuildProgram exited with code -2147024894.
    2. System.IO.FileNotFoundException: Could not load file or assembly 'PlayerBuildProgramLibrary, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
    3. File name: 'PlayerBuildProgramLibrary, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'
    4.    at PlayerBuildProgramTypeWrapper.Run(String[] args)
    5.    at Program.Main(String[] args)
    6. UnityEditor.BuildPipeline:BuildPlayer (UnityEditor.BuildPlayerOptions)
    7. Unity.Build.Classic.Private.BuildPlayerStep:Run (Unity.Build.BuildContext) (at Library/PackageCache/com.unity.platforms@0.10.0-preview.10/Editor/Unity.Build.Classic.Private/NonIncremental/Steps/BuildPlayerStep.cs:63)
    8. Unity.Build.BuildStepCollection:Run (Unity.Build.BuildContext) (at Library/PackageCache/com.unity.platforms@0.10.0-preview.10/Editor/Unity.Build/BuildStepCollection.cs:77)
    9. Unity.Build.Classic.Private.ClassicNonIncrementalPipelineBase:OnBuild (Unity.Build.BuildContext) (at Library/PackageCache/com.unity.platforms@0.10.0-preview.10/Editor/Unity.Build.Classic.Private/NonIncremental/ClassicNonIncrementalPipelineBase.cs:10)
    10. Unity.Build.BuildProcess:Update () (at Library/PackageCache/com.unity.platforms@0.10.0-preview.10/Editor/Unity.Build/BuildProcess.cs:54)
    11. Unity.Build.BuildPipelineBase:Build (Unity.Build.BuildConfiguration,Unity.Build.BuildProgress) (at Library/PackageCache/com.unity.platforms@0.10.0-preview.10/Editor/Unity.Build/BuildPipelineBase.cs:84)
    12. Unity.Build.BuildConfiguration:Build () (at Library/PackageCache/com.unity.platforms@0.10.0-preview.10/Editor/Unity.Build/BuildConfiguration.cs:65)
    13. Unity.Build.Editor.BuildConfigurationInspector/<>c:<.cctor>b__34_0 (Unity.Build.BuildConfiguration) (at Library/PackageCache/com.unity.platforms@0.10.0-preview.10/Editor/Unity.Build.Editor/BuildConfigurationInspector.cs:42)
    14. Unity.Build.Editor.BuildConfigurationInspector/<>c__DisplayClass30_0:<Build>b__1 () (at Library/PackageCache/com.unity.platforms@0.10.0-preview.10/Editor/Unity.Build.Editor/BuildConfigurationInspector.cs:128)
    15. UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
    16.  
     

    Attached Files:

    segant likes this.
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,646
    We're on this, thanks for the report. A fix has been made and is now in review.

    As a workaround, move your project to the same drive where Unity is installed (C:\ in your case).
     
    Spikebor likes this.
  3. Spikebor

    Spikebor

    Joined:
    May 30, 2019
    Posts:
    280
    Thank you!
     
  4. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,132
  5. mikejm_

    mikejm_

    Joined:
    Oct 9, 2021
    Posts:
    346
  6. nobatgeldi

    nobatgeldi

    Joined:
    Feb 6, 2016
    Posts:
    2
    You can find in here : https://unity3d.com/beta/2022.1a#downloads
    or: unityhub://2022.1.0b13/f4c22ff55020
     
  7. skwoods98

    skwoods98

    Joined:
    Mar 18, 2019
    Posts:
    7
    I'm still seeing this error doing a WebGL build on 2022.1.0b13 (my code is on D: Unity is installed on C:). The reference says "fixed in 2022.2.0a1" but you're pointing to 2022.1.0b13 - sounds like we need to wait for the next minor version update?
     
    sgallouet likes this.
  8. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,132
    For 2022.1, the fix will be included in the upcoming b14 release.

    No, 2022.2 has no public releases yet.
     
    skwoods98 likes this.
  9. garrido86

    garrido86

    Joined:
    Dec 17, 2013
    Posts:
    233
    I like to report that I'm having the same issue with 2022.1.0b13 and WebGL builds but my Unity installations are on C: installed. I'm looking forward to the new releases that fixes this :)
     
  10. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,132
    b14 was just released. You can try it right now.
     
    mikejm_ and garrido86 like this.
  11. garrido86

    garrido86

    Joined:
    Dec 17, 2013
    Posts:
    233
    Thank you for your update and I can confirm that the bug is now gone, great work!
     
    LeonhardP likes this.
  12. Deleted User

    Deleted User

    Guest

    It is still NOT fixed, LeonhardP. I just tried it out in Unity 2022.1.0b14, and still getting the same issue. I'm on Windows 11, Unity is installed in C drive, My project is in D drive.

    Screenshot 2022-03-31 103022.png




    >>> Should I report it? <<<​
     
  13. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,132
    Yes, please submit a bug report and share the issue ID here. Does the issue remain when the project is on the same drive as Unity?
     
  14. garrido86

    garrido86

    Joined:
    Dec 17, 2013
    Posts:
    233
    I can say that on my end, Unity is on C: while the project is another drive, no problems when doing a WebGL build. @GamesResurrected have you tried deleting the library folder so that you have a fresh state?
     
  15. Deleted User

    Deleted User

    Guest

    Yes, the issue takes place in both drives (C & D).

    Right after I cut My project from D drive & pasted it to C drive (Desktop), I deleted the Library folder and then opened the project; The issue still persists.

    Done! Case 1416188
     
    LeonhardP likes this.
  16. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,132
    Thanks for the report! QA identified it as a case of this known issue: https://issuetracker.unity3d.com/product/unity/issues/guid/1409612/

    It's with the devs.
     
    Deleted User likes this.
  17. Spikebor

    Spikebor

    Joined:
    May 30, 2019
    Posts:
    280
    I can build now with both project and editor in same drive. I use com.unity.platforms.windows package.