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

WebGL application errors

Discussion in 'WebGL' started by ki_ha1984, Jan 12, 2016.

  1. ki_ha1984

    ki_ha1984

    Joined:
    Aug 24, 2014
    Posts:
    111
    Hi,

    I have a game which i had it until now in webplayer, now i try to export it to WebGL and i have the following errors:

    Screen Shot 2016-01-12 at 13.32.31.png

    Any idea?

    Thank you in advance
     
  2. diekeure

    diekeure

    Joined:
    Jan 25, 2013
    Posts:
    221
    Make a development build instead of a release build, then there will be a readable stacktrace.
     
  3. ki_ha1984

    ki_ha1984

    Joined:
    Aug 24, 2014
    Posts:
    111
    I built it as development, but still get the same errors.

    Why?
     
  4. Marco-Trivellato

    Marco-Trivellato

    Unity Technologies

    Joined:
    Jul 9, 2013
    Posts:
    1,654
    the point is to get a more readable callstack. Could you please post it here ?
     
  5. ki_ha1984

    ki_ha1984

    Joined:
    Aug 24, 2014
    Posts:
    111
    how i can get the readable callstack ?

    X.
     
  6. Marco-Trivellato

    Marco-Trivellato

    Unity Technologies

    Joined:
    Jul 9, 2013
    Posts:
    1,654
    actually, the callstack you posted IS from a development build. sorry, i did not notice that before.

    Which version of Unity are you using ?
    Can you try to disable "Strip Engine Code" to see if that fixes the problem ?
     
  7. ki_ha1984

    ki_ha1984

    Joined:
    Aug 24, 2014
    Posts:
    111
    thank you very much Marco Trivellato, fynally after disabling the "Strip Engine Code", errors lost and application runs.
    Now i have some other code problems, like: the application cannot read the the keyboard inputs, also the communication of WWWForm form = new WWWForm() with external php files does not works, and some other codes.
    Do you know what happens ?