Version: Unity 6.7 Alpha (6000.7)
Language : English
Scene template settings
Format of text serialized files

Text-based scene files

Unity provides a text-based format for scene data, in addition to the default binary format. This can be useful when working with version control software, because text files generated separately can be merged more easily than binary files. Also, the text data can be generated and parsed by tools, making it possible to create and analyze scenes automatically. The pages in this section provide some reference material for working with the format.

Topic Description
Format of text serialized files Understand the structure and syntax of Unity’s text-based serialization format for scenes and assets.
UnityYAML Learn about Unity’s implementation of YAML and the specific conventions used in scene files.
An example of a YAML scene file An example of a scene file in YAML format with explanations of key elements.
YAML serialization of prefabs Understand how prefab instances, nested prefabs, and prefab variants are represented in YAML.
Example of YAML prefab serialization Annotated YAML excerpts of prefab instances, nested prefabs, and prefab variants from real files.
YAML class ID reference Reference list of class IDs used in YAML files to identify different Unity object types.

Additional resources

Scene template settings
Format of text serialized files