Version: Unity 6.2 (6000.2)
LanguageEnglish
  • C#
Method group is Obsolete

EditorSettings.webSecurityEmulationEnabled

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

Obsolete EditorSettings.webSecurityEmulationEnabled is no longer supported, since the Unity Web Player is no longer supported by Unity. public static bool webSecurityEmulationEnabled;

Description

Determines if the Unity Editor emulates the networking security restrictions of the web player.

The emulation feature is turned on when this setting is enabled, and the active buildtarget is the webplayer. A downside of having it disabled is that the networking security restrictions also apply to the entire editor, which make certain tools that require opening listening sockets to no longer work. Only enable this if you actually want to work on your application's networking behaviour for the webplayer environment.

Note that WebPlayer is not supported from 5.4 and onwards.