Version: 2022.3
LanguageEnglish
  • C#

InsecureHttpOption.DevelopmentOnly

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Allow UnityWebRequest to use plain text HTTP connections in development builds only.

In development builds, UnityWebRequest is allowed to use plain text HTTP connections. Otherwise, it is only allowed to use HTTPS connections.

Choose this option to if you want to use insecure plain text HTTP connections with local servers while developing your application, and secure HTTPS connections in a release build.