CodeSmile AssetDatabase 1.9
Unity's AssetDatabase in enjoyable, consistent, concise, convenient, comprehensible, safe, documented form.
Loading...
Searching...
No Matches

◆ UpgradeAssetSerializationVersion() [1/2]

static void UpgradeAssetSerializationVersion ( [NotNull] IEnumerable< Path > paths,
ForceReserializeAssetsOptions options = ForceReserializeAssetsOptions.ReserializeAssetsAndMetadata )
static

Updates all native asset files to reflect any changes in serialization in the current editor version.

Use this after upgrading Unity Editor versions and you want to make sure all native assets are serialized to the current serialization format. Depending on whether Unity made changes to the serialization format this may change between none to all native assets. Use with caution when working with source control: discuss implications with the team / tech lead.

Parameters
pathsPaths to assets to reserialize to the current serialization version.
optionsForceReserializeAssetsOptions
See also