Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Resolves one serialized asset reference to the canonical object owned by this resolver.

API: engine
Project: Inno.Assets

Inno.Assets.AssetObject Inno.Assets.IAssetReferenceResolver.Resolve(System.Guid persistentId, System.Guid stableTypeId, string lastKnownPath, System.Type expectedType, string propertyPath)

Parameter persistentId: The persistent asset identity encoded in the reference.

Parameter stableTypeId: The stable concrete asset type identity encoded in the reference.

Parameter lastKnownPath: The optional logical path retained for diagnostics and authoring recovery.

Parameter expectedType: The declared property type that the resolved object must satisfy.

Parameter propertyPath: The serialization property path used when reporting resolution failures.

The canonical compatible asset owned by this resolver’s generation.

Exception T:System.InvalidOperationException: Thrown when the reference cannot be resolved to a compatible asset.