Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Unable to export to HTML5: FileNotFoundException: Could not find build.bc

Discussion in 'Editor & General Support' started by JUSTCAMH, Oct 8, 2019.

  1. JUSTCAMH

    JUSTCAMH

    Joined:
    Dec 8, 2018
    Posts:
    18
    FileNotFoundException: Could not find file "<project-path>\Temp\StagingArea\Data\Native\build.bc", where <project-path> is the save location for the project.
    What is this missing file, and how can I fix the problem? Exporting works when exporting to windows, mac and linux. I have not deleted any core files (that I know of) and that file is not in the recycle bin. The process gets up to the IL2CPP stage, then gives up and deletes the folder which was being exported to. Using 2D lwrp in unity version 2019.2.6f1.
    What do I need to do to get this exported to web?

    Source code available here.
     
  2. JUSTCAMH

    JUSTCAMH

    Joined:
    Dec 8, 2018
    Posts:
    18
    Bump. Still looking for a solution to export this to WebGL
     
  3. JUSTCAMH

    JUSTCAMH

    Joined:
    Dec 8, 2018
    Posts:
    18
    Bump again. I really want to export to web, is there anything I can do about this alleged missing file? What even is build.bc???
     
  4. andyz

    andyz

    Joined:
    Jan 5, 2010
    Posts:
    2,148
    I just started getting this on 2018.4, Unity what is this?!
     
  5. Siba_M_M

    Siba_M_M

    Joined:
    Aug 11, 2020
    Posts:
    15
    I'm getting this error on 2019.4.6, Anyone solved this ?