Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

WebGL [re-resolved] WebGL Failing During Build - #769305

Discussion in '5.4 Beta' started by JJJohan1, Feb 15, 2016.

  1. JJJohan1

    JJJohan1

    Joined:
    Oct 13, 2013
    Posts:
    11
    I'd like to open a thread in relation to the aforementioned bug report ticket as it will become a high priority item for my team as Unity continues to update.

    Ever since Unity version 5.3.2, WebGL builds are failing for our project. I can build an 'empty' scene fine, but we cannot determine what's causing our build to fail. We've tried 5.3.2, and all currently available 5.4.0 betas available with no change. Note that Unity 5.3.1 compiles successfully.

    I have attached a scene as part of the ticket to reproduce the issue. The error message on failure is:

    Code (csharp):
    1. ..\Temp\StagingArea\Data\il2cppOutput\Bulk_System.Drawing_0.cpp:7559:26: error: use of undeclared identifier '_p6_marshaled_dereferenced' t756539922_marshal(*p6, _p6_marshaled_dereferenced);
    This happens with il2cpp.exe - I haven't actually heard of any compile errors with this executable from my searches.
     
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,756
    I believe this was fixed in 5.3.2p3.
     
  3. JJJohan1

    JJJohan1

    Joined:
    Oct 13, 2013
    Posts:
    11
    Well I'll be damned, you're right. I was testing it with 5.3.2p2. Cheers for that.
     
  4. JJJohan1

    JJJohan1

    Joined:
    Oct 13, 2013
    Posts:
    11
    Actually, out of curiosity when will this fix be included with the 5.4 branch? I am still experiencing build failures in Unity 5.4.0b7, but 5.3.2p3 and 5.3.2p4 both build fine now.
     
  5. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,756
    The fix landed to 5.4.0b8 - it had missed b7 deadline.