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

Question How to Run Unity WebGL Project in Electron JS Window for All Desktop Platforms Electron can Run?

Discussion in 'WebGL' started by Solperano, May 24, 2023.

  1. Solperano


    Mar 15, 2023
    Hi I want my Unity WebGL Project to run on a window of a desktop operation system (Windows, macOS, Linux). And that window is created by Electron JS which is Node.js library. I know some steps: 1st step: Install Node.js: Done, 2nd step: Create Electron project: Done, 3rd step: Create Unity WebGL Project: Done, 4th step: Embed Unity WebGL project to Electron window: NOT DONE!

    So How can I achieve 4th Step?

  2. All_American


    Oct 14, 2011
    I am attempting the same thing right now. I have the html page as a Electron window and it is not working....but I am not getting the error for not being on a web-server.