Skip to content

[BUG] Nodes generating commas instead of dots #8

@jiDOK

Description

@jiDOK

Hi, I really like this project!

There's a bug in newer Unity versions.
Tested with Unity 2019.1.9f1 and 2019.2.0f1 on a German Windows 10 PC.

Description:
When GPUGraph Editor Nodes are parsed, commas are generated instead of dots. This causes the shader compilation to fail. This is on a German Win10 machine.

Error message:
Shader error in 'MyGPUGShader0': Parse error: syntax error, unexpected ',', expecting TVAL_ID or TVAL_VARREF at line 9

Generated line:
TurbulencePower ("TurbulencePower", Range(0, 5)) = 1,875.0

Unity has had the comma-dot-culture bug for a while, but I thought they said they've fixed it
by now. So I don't know what's going on there.
It works fine in Unity 5.6.3f1 but I'd really like to use the plugin in newer versions...

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions