Error loading WebGL build

We’ve finally been able to move beyond the memory errors publishing our project to WebGL but now we have a new one.

This is built using Unity 5.1.2f1:

“missing function: _Z15VerifySignatureNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEES5_i”

Any thoughts?

Thanks much,

sirrus

Hi,

I haven’t see this error yet. Could you please try to build with Patch 5.1.2p1 ?

If the problem persists, please submit a bug report with a sample project and I will look at it.

Unfortunately, am still getting the error in Firefox and Chrome with the project built using 5.1.2p1.

I will see if we can get a project together and submit a bug report.

Marco, any idea what that error might reference so that we can try to isolate the issue on this end?

Thanks.

I am not sure… could you please try to disable stripping ?

With stripping disabled I got the same error.

we found considerable stability improvements moving to 5.2, along these lines.

5.2 isn’t exactly an option for us if the Known Issue of UI being non-functional in WebGL is correct. :frowning:

I have isolated a component or two that I believe are causing this error. I will report back here soon with what I discover.

5.2 Beta 6 will include a fix for that.

Thanks!

Found it! Since we are migrating from Webplayer we still have a component that calls Caching.Authorize() which obviously isn’t supported/(needed?) for WebGL. Removing that call clears up the missing “…VerifySignature…” function.

Hope this helps others.

Thanks!

That makes sense…thanks for sharing.

We’ll try to repro this problem and perhaps add a warning/error if you are using Caching.Authorize on this platform.

1 Like

That would be helpful if anyone else still has the Caching call in their project. Thanks for your help!