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. Dismiss Notice

Unity Exporting Game Into WebGL Results in an Empty Folder

Discussion in 'Editor Workflows' started by Mythses, Aug 25, 2023.

  1. Mythses

    Mythses

    Joined:
    Aug 25, 2023
    Posts:
    5
    I tried exporting my game as a WebGL, but the folder it return was empty.
     
  2. CodeSmile

    CodeSmile

    Joined:
    Apr 10, 2014
    Posts:
    4,019
    Errors in the Console?
     
  3. Mythses

    Mythses

    Joined:
    Aug 25, 2023
    Posts:
    5
    Yea

    System.ComponentModel.Win32Exception (2): No such file or directory - there are 5 of these
    and
    UnityEditor.BuildPlayerWindow+BuildMethodException: 5 errors
     
  4. CodeSmile

    CodeSmile

    Joined:
    Apr 10, 2014
    Posts:
    4,019
    Details of these errors please. How are we supposed to help if you ignore and do not share what‘s actually providing helpful clues? Like … what file or directory? The contents of error messages are IMPORTANT!

    Make sure you build to a location where apps have read/write access, eg Documents.
     
  5. bugfinders

    bugfinders

    Joined:
    Jul 5, 2018
    Posts:
    738
    "export"? you build webgl ...
     
  6. Mythses

    Mythses

    Joined:
    Aug 25, 2023
    Posts:
    5
    nvm I fixed it