Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAC Editor webview is not loaded non-secure http or self signed https #64

Closed
stranger-games opened this issue Jan 26, 2016 · 2 comments
Closed

Comments

@stranger-games
Copy link

Hi,

I am trying to do some tests inside my MAC Unity Editor, but I noticed that only https urls are loaded, otherwise, they are not loaded.
So I created a self signed certificate on my LAN server, I added the certificate to MAC System Keychain and set it to trusted, but even after that I cannot get the HTTPS url to be loaded inside the MAC Editor webview.

The urls are correctly loaded only when it is HTTPS with a certificate from a trusted certificate authority.

Any hep is greatly appreciated.

@stranger-games
Copy link
Author

Hi,

I found a solution on the internet.

Find the Unity.app file then right click and 'Open Contents', then browse to 'Contents\Info.plist' and open it in a text editor.

Then add the following text before the closing at the end of the file.

NSAppTransportSecurity

NSAllowsArbitraryLoads

Source:
https://onevcat.zendesk.com/hc/en-us/articles/215527307-I-cannot-open-the-web-page-in-Unity-Editor-

@KojiNakamaru
Copy link
Member

Thank you very much for the valuable comments! I was just stuck in this issue and now it has gone. I'll later add this info to README.md.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants