Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

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,675
    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,675
    The fix landed to 5.4.0b8 - it had missed b7 deadline.