Skip to content

OpenGL: Condition "t->is_render_target" is true. is printed every time LightmapGI is baked with Environment mode set to Scene or Custom Sky #94407

@Calinou

Description

@Calinou

Tested versions

  • Reproducible in: 4.3.beta 92c8e87

System information

Godot v4.3.beta (92c8e87) - Fedora Linux 40 (KDE Plasma) - X11 - GLES3 (Compatibility) - NVIDIA GeForce RTX 4090 (nvidia; 555.58.02) - 13th Gen Intel(R) Core(TM) i9-13900K (32 Threads)

Issue description

Every time you bake lightmaps with the Scene or Custom Sky environment node in Compatibility, you get this error:

 drivers/gles3/storage/texture_storage.cpp:717 - Condition "t->is_render_target" is true.

Baking still succeeds and the texture is saved to disk correctly.

This error does not occur when baking using Forward+ or Mobile, or when using another environment mode in LightmapGI.

Steps to reproduce

  • Bake lightmaps with environment mode set to Scene (the default).

Minimal reproduction project (MRP)

test_lightmap_environment.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    For team assessment

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions