Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


webSecurityEmulationEnabled

Determines if the Unity Editor emulates the networking security restrictions of the web player.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor
Warning
Deprecated. EditorSettings.webSecurityEmulationEnabled is no longer supported, since the Unity Web Player is no longer supported by Unity.
public static bool webSecurityEmulationEnabled { get; set; }

Remarks

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.