Property WarnOnAddressablesUsageOutsidePlaymode
WarnOnAddressablesUsageOutsidePlaymode
Whether to log warning on entering Playmode if the Addressables have been used in edit mode.
Declaration
public static bool WarnOnAddressablesUsageOutsidePlaymode { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Remarks
When entering playmode with domain reload disabled, Addressables loaded by any editor scripts might be unloaded to ensure a clean context while playing. Editor scripts actively using Addressables outside playmode should register to EditorApplication.playModeStateChanged to unload/reload their referenced assets when the state mode changes.