Documentation

Unity Engine


User Manual

Script Reference

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 13 days ago

Definition

public static bool EnableSafetyChecks { get; set; }

Remarks

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