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¶
规则 ID |
GD0303 |
类别 |
用法 |
修复是中断修复还是非中断修复 |
Not fixable |
默认启用 |
是 |
原因¶
This is a bug in the engine and must be reported.
规则说明¶
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.
如何解决冲突¶
Violations of this rule can't be fixed.
何时禁止显示警告¶
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.