Search Unity

Question How do I play a Unity game in Chrome extension?

Discussion in 'Web' started by andresgranero, Jan 22, 2024.

  1. andresgranero

    andresgranero

    Joined:
    Nov 2, 2018
    Posts:
    9
    0
    I am trying to make a simple unity game work in a google chrome extension. The build in web gl I have put it in an extension.

    I have changed the html of the game so that the javascript runs in a , in the tutorial on creating extensions I saw it said that if you don't do it that way it doesn't work.

    I don't know about javascript, I know about Unity.

    Do I need to add something to the manifest.json?

    Do I have to change the javascript?

    I have not found any information on the internet about it.

    I just get this message when I try to open it in a new tab or set in iframe.
    Pd: yes in my build settings I have compression none

     
  2. Mauri

    Mauri

    Joined:
    Dec 9, 2010
    Posts:
    2,664
    t_paine and andresgranero like this.
  3. andresgranero

    andresgranero

    Joined:
    Nov 2, 2018
    Posts:
    9
    Mauri likes this.