Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ManagedReferenceMissingType

Represents a managed reference object that has a missing type.
Read time 1 minuteLast updated 4 days ago

Definition

public readonly struct ManagedReferenceMissingType : IEquatable<ManagedReferenceMissingType>, IComparable<ManagedReferenceMissingType>

Remarks

ManagedReferenceMissingType describes a managed reference object that could not be deserialized because it is missing its type.
It includes the details of the type (expressed by its assembly, class and namespace) that is expected in order to reinstantiate the object.
A type can be missing if the class was renamed, moved to another assembly, or moved inside a different namespace. A missing type may be a sign that an entire assembly or source script is missing from the project.
If the original types are not available, this info can aid in migrating data to new types, or making a decision to clear the associated data.

Properties

Property

Description

assemblyNameName of the Assembly where Unity expects to find the class. (Read Only)
classNameName of the class that is needed to instantiate the Managed Reference. (Read Only)
namespaceNameNamespace where Unity expects to find the class. Namespaces are optional so this might contain an empty string. (Read Only)
referenceIdThe Managed Reference ID. (Read Only)
serializedDataString summarizing the content of the serialized data of the missing object. (Read Only)