Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


isPrefabFileValid

Returns true if the content of the file is valid.
Read time 1 minuteLast updated 9 days ago

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public bool isPrefabFileValid { get; }

Remarks

The content of a prefab file can be valid but still produce a BrokenPrefabAsset if it is a variant and the parent is missing or invalid.