Inspectopedia 2025.2 Help

Unity

'MonoBehaviour' instances must be instantiated with 'GameObject.AddComponent<T>()' instead of 'new'   New in this release

'MonoBehaviour' instances must be instantiated with 'GameObject.AddComponent<T>()' instead of 'new'.

'ScriptableObject' instances must be instantiated with 'ScriptableObject.CreateInstance<T>()' instead of 'new'   New in this release

'ScriptableObject' instances must be instantiated with 'ScriptableObject.CreateInstance<T>()' instead of 'new'.

Alternative non-allocating method available   New in this release

Alternative non-allocating method available.

Avoid 'base.OnGUI()' in classes derived from 'PropertyDrawer'   New in this release

Avoid 'base.OnGUI()' in classes derived from 'PropertyDrawer'.

Cannot resolve component or scriptable object   New in this release

Cannot resolve component or scriptable object.

DOTS: IAspect fields are required to be one of the following types: RefRW, RefRO, EnabledRefRW, EnabledRefRO, DynamicBuffer, or Entity   New in this release

DOTS: IAspect fields are required to be one of the following types: RefRW, RefRO, EnabledRefRW, EnabledRefRO, DynamicBuffer, or Entity.

DOTS: Inconsistent type keywords   New in this release

DOTS: Inconsistent type keywords.

DOTS: The type specified must be a structure type   New in this release

DOTS: The type specified must be a structure type.

Event function with the same name is already declared   New in this release

Event function with the same name is already declared.

Expected a type derived from 'Component' or 'MonoBehaviour'   New in this release

Expected a type derived from 'Component' or 'MonoBehaviour'.

Expected a type derived from 'ScriptableObject'   New in this release

Expected a type derived from 'ScriptableObject'.

Field of 'ComponentLookup' type must be updated before being used.   New in this release

Field of 'ComponentLookup' type must be updated before being used.

File name should match the name of the assembly   New in this release

File name should match the name of the assembly.

Group path is not defined   New in this release

Group path is not defined.

Incorrect method signature   New in this release

Incorrect method signature.

Incorrect Odin's group attribute type   New in this release

Incorrect Odin's group attribute type.

Member appears in multiple UI groups simultaneously   New in this release

Member appears in multiple UI groups simultaneously.

Method referenced in string literal does not have the expected signature   New in this release

Method referenced in string literal does not have the expected signature.

Parameter should be derived from 'Component'   New in this release

Parameter should be derived from 'Component'.

Possible incorrect application of attribute to multiple fields   New in this release

Possible incorrect application of attribute to multiple fields.

Possible unintended bypass of lifetime check of underlying Unity engine object (null coalescing on a type deriving from 'UnityEngine.Object' bypasses the lifetime check on the underlying Unity engine object)   New in this release

Possible unintended bypass of lifetime check of underlying Unity engine object (null coalescing on a type deriving from 'UnityEngine.Object' bypasses the lifetime check on the underlying Unity engine object).

Possible unintended bypass of lifetime check of underlying Unity engine object (null propagating on a type deriving from 'UnityEngine.Object' bypasses the lifetime check on the underlying Unity engine object)   New in this release

Possible unintended bypass of lifetime check of underlying Unity engine object (null propagating on a type deriving from 'UnityEngine.Object' bypasses the lifetime check on the underlying Unity engine object).

Possible unintended bypass of lifetime check of underlying Unity engine object (pattern matching null checks on a type deriving from 'UnityEngine.Object' bypasses the lifetime check on the underlying Unity engine object)   New in this release

Possible unintended bypass of lifetime check of underlying Unity engine object (pattern matching null checks on a type deriving from 'UnityEngine.Object' bypasses the lifetime check on the underlying Unity engine object).

Prefer GUID-based assembly references   New in this release

Prefer GUID-based assembly references.

Redundant attribute usage (attribute is redundant when applied to this declaration type)   New in this release

Redundant attribute usage (attribute is redundant when applied to this declaration type).

Redundant attribute usage (redundant 'FormerlySerializedAs' attribute)   New in this release

Redundant attribute usage (redundant 'FormerlySerializedAs' attribute).

Redundant attribute usage (redundant 'HideInInspector' attribute)   New in this release

Redundant attribute usage (redundant 'HideInInspector' attribute).

Redundant attribute usage (redundant 'InitializeOnLoad' attribute)   New in this release

Redundant attribute usage (redundant 'InitializeOnLoad' attribute).

Redundant attribute usage (redundant 'SerializeField' attribute)   New in this release

Redundant attribute usage (redundant 'SerializeField' attribute).

Redundant Unity event function   New in this release

Redundant Unity event function.

Repeated access of property on built in component is inefficient   New in this release

Repeated access of property on built in component is inefficient.

Scene does not exist   New in this release

Scene does not exist.

Scene is disabled in the build settings   New in this release

Scene is disabled in the build settings.

Setting 'parent' property immediately after object instantiation is inefficient   New in this release

Setting 'parent' property immediately after object instantiation is inefficient.

Short scene name is not unique   New in this release

Short scene name is not unique.

String based graphics property lookup is inefficient   New in this release

String based graphics property lookup is inefficient.

String based lookup of component type is inefficient   New in this release

String based lookup of component type is inefficient.

SystemApi.Query<...> type parameters must be Aspect, RefRO, or RefRW   New in this release

SystemApi.Query<...> type parameters must be Aspect, RefRO, or RefRW.

The index is missing in the build settings   New in this release

The index is missing in the build settings.

The input name is not defined in the Input manager   New in this release

The input name is not defined in the Input manager.

The layer is not defined in the 'Tags & Layers'   New in this release

The layer is not defined in the 'Tags & Layers'.

The resource is not defined in the project   New in this release

The resource is not defined in the project.

The same shortcut is defined for another menu item   New in this release

The same shortcut is defined for another menu item.

The tag is not defined in the 'Tags & Layers'   New in this release

The tag is not defined in the 'Tags & Layers'.

There is no animator state with the same name in the project.   New in this release

There is no animator state with the same name in the project.

There is no scene with the same name in the build settings   New in this release

There is no scene with the same name in the build settings.

To use the result of a 'GetSingleton' call in the function, 'OnCreate' must include a 'RequireForUpdate' call   New in this release

To use the result of a 'GetSingleton' call in the function, 'OnCreate' must include a 'RequireForUpdate' call.

Use 'CompareTag' instead of explicit string comparison   New in this release

Use 'CompareTag' instead of explicit string comparison.

Last modified: 29 July 2025