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

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:

..\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.

I believe this was fixed in 5.3.2p3.

Well I’ll be damned, you’re right. I was testing it with 5.3.2p2. Cheers for that.

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.

The fix landed to 5.4.0b8 - it had missed b7 deadline.