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
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Problem wilt WebGL build

Discussion in 'WebGL' started by techs21, Feb 22, 2016.

  1. techs21

    techs21

    Joined:
    Aug 18, 2015
    Posts:
    59
    When i build my game with WebGL in firefox I will get this error when trying to test the game on facebook

    The browser could not allocate enough memory for the WebGL content. If you are the developer of this content, try allocating less memory to your WebGL build in the WebGL player settings.


    and what is the best size or resolution to build a game in webGL? When i build mine i have to scroll down to see the bottom of the game and the top is all cut off
     
  2. Marco-Trivellato

    Marco-Trivellato

    Unity Technologies

    Joined:
    Jul 9, 2013
    Posts:
    1,654
    Is it 32-bit Firefox?
    What's the value of WebGL Memory size ?
     
  3. techs21

    techs21

    Joined:
    Aug 18, 2015
    Posts:
    59
    it is using 512 for memory size

    I think it is 64bit

    it works within website just not facebook app i get that error
     
  4. Marco-Trivellato

    Marco-Trivellato

    Unity Technologies

    Joined:
    Jul 9, 2013
    Posts:
    1,654
    perhaps code or data are too big. what's the size of the uncompressed jsgz and datagz files ? (rename them to *.gz so you can unpack them)