Documentation

Unity Engine

Download Unity

Unity Engine

EnableSafetyChecks

Enables safety checks for multiplayer roles. When entering play mode or building scenes, the editor will check and warn about any stripped GameObject or Component that is referenced by other objects and that can potentially cause null reference errors.
Read time 1 minuteLast updated a day ago

Definition

public static bool EnableSafetyChecks { get; set; }

Remarks

Disabling this option could improve the performance of entering play mode or building scenes.