Search Unity

IL2CPP error ( exception )

Discussion in 'Web' started by cg_trimble, Apr 15, 2015.

  1. cg_trimble

    cg_trimble

    Joined:
    Feb 4, 2014
    Posts:
    5
    Hello,

    After few days ... and few cry :( I cannot compile my Unity project with WebGL.
    No problem when i try to compile in StandAlone or WebPlayer.

    I watched few threads, few forums, i have the same error :(

    I have 2 errors :

    1st error :



    2nd error

    PS : Version of unity : 5.0.1f1
     
  2. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,562
    Is there any further information in the log after these messages?

    Also, what is UnityTools.dll ? perhaps it's causing some issues during the compilation process ? What types does it contain ?
     
  3. cg_trimble

    cg_trimble

    Joined:
    Feb 4, 2014
    Posts:
    5
    Thank for your reply !

    No any further information ...
    UnityTools it's a custom lib, maybe i must to move all src in Assembly dll ?

     
  4. cg_trimble

    cg_trimble

    Joined:
    Feb 4, 2014
    Posts:
    5
    Ok after removed my custom dll compilation work !
    But :(

    When i try to launch my webgl page, i have errors, not same when i use Firefox or Chrome !

    Chrome says me :

    Invoking error handler due to
    Uncaught SyntaxError: Unexpected number
    fileloader.js:3 Uncaught SyntaxError: Unexpected number
    UnityConfig.js:74 Invoking error handler due to
    Uncaught RangeError: Invalid typed array length
    WebGL_Build.js:1 Uncaught RangeError: Invalid typed array length

    Firefox says me :
    Invoking error handler due to uncaught exception: out of memory

    I set the memory of webgl at 1024Mb, nothing to change.
     
  5. gfoot

    gfoot

    Joined:
    Jan 5, 2011
    Posts:
    550
    The chrome "Unexpected number" thing happens randomly for me - try reloading the page.
     
  6. cg_trimble

    cg_trimble

    Joined:
    Feb 4, 2014
    Posts:
    5
    Yes after try 2 or 3 time, the page is loading ...
    Right now he's not working with Firefox ...