Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Webgl game does not work

Discussion in 'Editor & General Support' started by F_abboy, Sep 19, 2021.

  1. F_abboy

    F_abboy

    Joined:
    Nov 28, 2020
    Posts:
    2
    WebGL export does not work


    I,d like to make a chat app that i can implement on my website.
    Now my problem, every time i want to open it (for test) the games does not load. In the console is an error: unityFramework not defined

    what should i do?
     
  2. fffMalzbier

    fffMalzbier

    Joined:
    Jun 14, 2011
    Posts:
    3,276
  3. F_abboy

    F_abboy

    Joined:
    Nov 28, 2020
    Posts:
    2
  4. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    38,520
    Oooh, I'd be really worried about that o-umlaut.

    Generally stay away from ALL characters outside of the basic ASCII character set.

    If you use any non-standard characters, it requires 100% of everything from the build tools to the zip tools to the browser to the Javascript interpreter to the webserver and EVERYTHING must handle it perfectly or else it fails.

    I find that mostly it fails.

    https://forum.unity.com/threads/sha...r-illegal-byte-sequence.1452829/#post-9102820
     
    Last edited: Jun 24, 2023
    Joe-Censored likes this.
  5. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    Yeah Unity is supposed to support non-ASCII characters for folder and file names, etc. But it has been a frequent source of regressions. And in this case as you say, you're also now dragging in browsers and other things which Unity isn't really responsible for. It is best to just stick to ASCII for all file and folder names, and let other people report the bugs when they reappear.
     
    Kurt-Dekker likes this.