Skip to content

Vector2i unable to deserialize when loading from a file #104195

Open
@RetroZelda

Description

@RetroZelda

Tested versions

  • Reproducable in 4.3 and 4.4

System information

Debian Trixie - Kernel 6.12.9-amd64

Issue description

When serializing a Vector2i into a dictionary to save into a file, to then be reloaded later, a "unable to convert a string to a vector2i" error occurs. As a built-in type I expected full serialization and deserialization to function, but the workaround of saving each X and Y component individually is fine, but it seems a bit unnessisary

Steps to reproduce

run included example

Minimal reproduction project (MRP)

main.gd.txt

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions