Table of Contents

Class CollectionItemIdsAnalysis

Namespace
Stride.Core.Assets.Analysis
Assembly
Stride.Core.Assets.dll

A static class that analyzes an AssetItem and fixes issues in CollectionItemIdentifiers of collections contained in this asset.

public static class CollectionItemIdsAnalysis
Inheritance
CollectionItemIdsAnalysis

Methods

FixupItemIds(AssetItem, ILogger)

Fixes up the CollectionItemIdentifiers of collections contained in the given asset. by generating new ids if there are any duplicate.

public static void FixupItemIds(AssetItem assetItem, ILogger logger)

Parameters

assetItem AssetItem

The asset to analyze.

logger ILogger

A logger to output fixed entries.

Remarks

This method doesn't handle collections in derived assets that will be desynchronized afterwards.