Version: 2021.3
言語: 日本語

ManagedReferenceMissingType

struct in UnityEditor

マニュアルに切り替える

説明

Represents a managed reference object that has a missing type.

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.

See Also: SerializationUtility.HasManagedReferencesWithMissingTypes, SerializationUtility.GetManagedReferencesWithMissingTypes, SerializationUtility.ClearManagedReferenceWithMissingType, SerializeReference

変数

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)