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 Errors

Discussion in 'Unity 5 Pre-order Beta' started by gear, Jan 2, 2015.

  1. gear

    gear

    Joined:
    May 11, 2009
    Posts:
    35
    Hi,
    We are getting too many error while porting our game to WebGL. I am using beta15, as using later give error while making build. I am using FireFox 34.0.5. Right now i am stuck with these two issue

    1. Value is not a convertible object: System.Int32 to System.Nullable`1 while deserializing xml, where in class has some nullable int memeber. I fixed this by removing all the nullable parameters.

    2. After fixing above now build is not working after exception
    Thanks
     
  2. Dustin-Horne

    Dustin-Horne

    Joined:
    Apr 4, 2013
    Posts:
    4,568
    Have you tried Beta 18? Builds not seem to be working fine for me in Beta 18.
     
  3. Dantus

    Dantus

    Joined:
    Oct 21, 2009
    Posts:
    5,667
    At the moment, it is best to just submit the issues. But you should use the newest version when submitting the reports.
     
  4. Dustin-Horne

    Dustin-Horne

    Joined:
    Apr 4, 2013
    Posts:
    4,568
    I also see there are a lot of reflection related items with generics in your stack trace. I know there are currently some WebGL (IL2CPP related I believe) with WebGL and Generics, at least from what I've been able to discern so far. These issues also affect my JSON .NET asset, but they are working on it and you'll see fixes coming down the pipe very soon. Dantus is right, file a bug report with the latest version if you're still having an issue.
     
  5. gear

    gear

    Joined:
    May 11, 2009
    Posts:
    35
    Yes I did tried beta 18, but build failed because IL2CPP give error for byte array. The nGUI localization return byte array and IL2CPP give error, system_byte_0_0_0 to be replaced by system_type_0_0_0(i think it never generate type for system.byte). And this error comes for all the beta version after 15. That's why i am using beta 15.

    Thanks
     
  6. Meltdown

    Meltdown

    Joined:
    Oct 13, 2010
    Posts:
    5,796
    Submit a bug report and a repro project with your issue and post the case number here.
     
  7. gear

    gear

    Joined:
    May 11, 2009
    Posts:
    35