Version: 2023.2
LanguageEnglish
  • C#

VisitReturnCode

enumeration

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Internal return code used during path visitation.

Properties

Ok The visitation resolved successfully.
NullContainer The container being visited was null.
InvalidContainerType The given container type is not valid for visitation.
MissingPropertyBag No property bag was found for the given container type.
InvalidPath Failed to resolve some part of the path (e.g. Name, Index or Key).
InvalidCast Failed to reinterpret the target value as the requested type.
AccessViolation Failed to set value at path because it is read-only.