Skip to content

Custom variables keep registering as strings #419

@cat24

Description

@cat24

What Happened

When I create a variable, no matter what I chose, the var says its a string. But when I look at the code it defines it as a float or whatever I set it to, yet the blocks treat is as a string. So not only can I not use it in other blocks, but when I try to set it to anything, It sets It like a string, but its not, so it just crashes.

How to Reproduce

create a custom variable, set it to float, (or anything other than string,) and create it.

Block Coding Plugin Version

v0.10.1

Godot Engine Version

v4.5.stable.official [876b29033]

Operating System

Windows 11

Logs or command-line output

Anything else?

It worked twice. I got it to create a float twice. But those were luck. I've tried way too many times and I got it twice to work

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions