Search Unity

Bug WebGL Build Error

Discussion in 'Web' started by BasiCubes, May 19, 2023.

  1. BasiCubes

    BasiCubes

    Joined:
    May 19, 2023
    Posts:
    2
    Hi, I'm on a Mac and tried to build my game for a quick play test. However, I got these errors. Help would be appreciated.
     

    Attached Files:

  2. CodeSmile

    CodeSmile

    Joined:
    Apr 10, 2014
    Posts:
    5,975
    You are using a Win32 API call (fork and exec process, that probably means Process.Start() or the like) in your project. Select the error in the console and check its callstack to find out where this call is coming from, could likely be a package or asset that isn‘t webgl compatible.

    You cannot use the Windows API in a Web environment.

    PS: select any lines in the console, then copy and paste it as text rather than posting screenshots.