I'm looking forward to the .NET Scripting Runtime upgrade, and am seeing Websocket TLS errors coming from the Firebase C# Plugin. I'm not sure if this is ultimately a fix that will need to go into the firebase C# api, or unity.

Can you submit a bug report with this project? This certificate errors are notorious finicky, so I would like to be able to investigate it here.

Click to expand...

@JoshPeterson I submitted a report to Unity + Firebase. The Firebase team says they are unable to reproduce, I'm not 100% sure the support staff are familiar with the steps involved to run Unity with the newer runtime so I made a screen-recording of the issue & git repo.

This error comes from not web-socket client library. The mono implementations for a lot of these things do not implement the TLS handshake correctly.... and are buggy in general. There are a few solutions for this problem. If you search Xamarin bugzilla you will see a few people crying over this bug (including myself).

Change the websocket transport. All of them suck.

Disable SSL / TLS

Rewrite mono to correctly support SSL.

Use a native websocket and use a bridge to bring it into unity.

The last step completely side steps mono, and thus works the best. I would contact firebase and have them fix the issue.

I have the same issue for Android with Unity 2017.2.0 and 3.0
The solution for me was in logging out from Unity account and checking "Work offline". After this, my build was successful locally. On Unity Cloud I don't have this issue