Up to date

This page is up to date for Godot 4.2. If you still find outdated information, please open an issue.

GD0303: Symbol parent of a type argument that must be Variant compatible was not handled

Regel-ID

GD0303

Kategorie

Verwendung

Breaking- oder nicht-Breaking-Fix

Not fixable

Standardmäßig aktiviert

Ja

Ursache

This is a bug in the engine and must be reported.

Beschreibung der Regel

The MustBeVariantAnalyzer has found an unhandled case in the user source code. Please, open an issue and attach a minimal reproduction project so it can be fixed.

Wie man Verstöße behebt

Violations of this rule can't be fixed.

Wann Warnungen unterdrückt werden sollten

Suppressing a warning from this rule may result in unexpected errors, since the case found by the analyzer may need to be handled by the user to prevent types that are not Variant-compatible from reaching the engine. Attempting to marshal incompatible types will result in runtime errors.