I know that this is not a Unity forum but I have asked unity aswell and still waiting for a reply. But still wanted to know if we are doing something wrong on our netlify side. Is there a domain/certification setting we are missing?
We are using Unity when creating a android app. We have our site located on netlify. But when trying to use functions from the site or even just trying to do a simple get from our main site https://www.pluggamedbilder.se through our android app or from unity editor it gives me this error in Unity. And as a sidenote it even gives me this error if im trying to get from https://www.netlify.com.
I have never heard of this specific problem before. I’m willing to dig into this with you if that means that future customers will be able to learn from what we dig up.
I expect you’re able to load the site fine in a browser on that device?
Can you gather more details about the HTTP/TLS client that Unity is using?
How does the client load the CA certificates?
Have you tried using some other HTTP client instead?
The site loads fine in a browser and on browser on the device. But as soon as i try to do a get from my unity game it does not work.
What i can see Unity is using up to TLS1.2
Not sure.(Will try to find out)
I have tried .Net http client and Unitys but dont think it is much of a different between them. There seems to be some other http clients that one can purchase on the Unity assetstore.
The CertificateHandler found this :
“Usually Unity would handle the certificate automatically and validate it against known root certificates or ignore them completely depending on the platform:”
This issue has been happening for us as well when trying to download images from Netlify in our Unity game. This happens when we test both in Editor and Windows builds. I have tried every solution suggested in Unity forums to no avail.