Getting Curl 51 error (for all projects)...

I’m using Unity 2018.4.29f1 and this error started to pop-up today, as soon as I open any of my projects in unity. (Everything was working perfectly before and I haven’t made any changes): Curl error 51: Cert verify failed: UNITYTLS_X509VERIFY_FLAG_EXPIRED

It also reoccurs when I play the game in the editor.

When I searched internet, I found results saying it’s a Unity server problem, so I wanted to ask if Unity staff is aware of this (if that’s the case) or is there something I should check on my part?

Note: My project(s) are not trying to access internet in any way, and disabling hwstatistics doesn’t make the error go away.

Thanks.

I am using the version of unity 2019.2.14f1. I run the code for the creation of AssetBundle for Android:

using UnityEditor;
using System.IO;

public class CreateAssetBundles
{
    [MenuItem("Assets/Build AssetBundles")]
    static void BuildAllAssetBundles()
    {
        string assetBundleDirectory = "C:/xampp3/htdocs/dev.folder/models";
        if (!Directory.Exists(assetBundleDirectory))
        {
            Directory.CreateDirectory(assetBundleDirectory);
        }
        BuildPipeline.BuildAssetBundles(assetBundleDirectory,
                                        BuildAssetBundleOptions.None,
                                        BuildTarget.Android);
    }
}

Then, when trying the code again, this error appeared:
Curl error 51: Cert verify failed: UNITYTLS_X509VERIFY_FLAG_EXPIRED

Same thing happening to me. My project doesn’t access the internet. Unity version 2018.4.15f1
Curl error 51: Cert verify failed: UNITYTLS_X509VERIFY_FLAG_EXPIRED

Same for me - 2018.4.24f1

Same error for for us on Unity 2018.4. Someone tried it offsite, also same result. We tried restarting computer, restarting router, still get the error 51 message. The only way unity doesn’t crash or show error is if the computer is not connected to the internet, but it’s not viable if working remotely through a internet connection. Maybe if you somehow disable all internet connectivity for Unity except your remote portal.

Same error for me except the editor crashes when hit play

Same here and I can’t work until it’s stops doing this! What’s going on?
@ Help!

I tried signing out, updated Unity Hub to 2.4.3, restarted Unity = no difference. Unity services status page indicates no problems.

Unity 2018.4.27f

Yes, I’m seeing the same thing. We are looking at this now at high priority.

3 Likes

I am getting the same error. Also, I get crashes when I hit play. Some scenes are fine though. I don’t understand. I lost a whole day because of this. I reinstalled Unity, updated Unity Hub, updated MacOS, disconnected from the internet, tried to connect through my phone’s hotspot, nothing works.

This issue has been resolved, apologies on the inconvenience. It was an expired SSL cert, it may take a few minutes for it to propagate.

2 Likes

It is not as bad as wednesday but I am still getting crashes. It started again yesterday, but signing out from the unity account worked somehow, I don’t know for sure if that’s what solved it though. Do you have any info on that? Do I have to clear some system wide SSL cache or something?

Please describe your steps to reproduce and the specific error that you are seeing.