Skip to content

4.4-dev6 VisualShader: Error: Parameter "version" is null and then after a while crash #100296

Closed
@SWCreeperKing

Description

@SWCreeperKing

Tested versions

  • Reproducible in: v4.4.dev6.official [1f47e4c]

System information

Windows 11 - Godot 4.4-dev6 - Forward+ - dedicated NVidia RTX 2070 super

Issue description

the output console will be filled with

ERROR: Parameter "version" is null.
   at: version_is_valid (servers/rendering/renderer_rd/shader_rd.cpp:659)

when clicking the eye icon on certain nodes with certain inputs
it seems like it has to do with inv_view_matrix and the preview from the eye icons in the visual shader

Steps to reproduce

make a visual shader

connect [input: inv_view_matrix] and [input: vertex] into [TransformVectorMult: A x B]
connect the [TransformVectorMult AxB] into [Texture2D: SamplerPort: UV]
connect [Texture2D: SamplerPort: Color] into [Output: Albedo]

now whenever you click the eye icon on the output of either the [TransformVectorMult: A x B] or [Texture2D: SamplerPort: Color]
the output console will be filled with

ERROR: Parameter "version" is null.
   at: version_is_valid (servers/rendering/renderer_rd/shader_rd.cpp:659)

and then eventually crash

Minimal reproduction project (MRP)

N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions