Skip to content

Attempted to free invalid ID errors when closing project with mobile renderer #51752

@qarmin

Description

@qarmin

Godot version

4.0.dev.custom_build. d5a3043

System information

Ubuntu 21.04 - Nvidia GTX 970, Gnome shell 3.38 X11

Issue description

ERROR: Attempted to free invalid ID: 332606562376367
   at: _free_internal (drivers/vulkan/rendering_device_vulkan.cpp:8397)
ERROR: Attempted to free invalid ID: 332636627141120
   at: _free_internal (drivers/vulkan/rendering_device_vulkan.cpp:8397)
ERROR: Attempted to free invalid ID: 332632332180146
   at: _free_internal (drivers/vulkan/rendering_device_vulkan.cpp:8397)
ERROR: Attempted to free invalid ID: 332662396944899
   at: _free_internal (drivers/vulkan/rendering_device_vulkan.cpp:8397)
ERROR: Attempted to free invalid ID: 332658101983925
   at: _free_internal (drivers/vulkan/rendering_device_vulkan.cpp:8397)
ERROR: Condition "!material" is true.
   at: material_set_shader (servers/rendering/renderer_rd/renderer_storage_rd.cpp:1547)
ERROR: Condition "!data.tree" is true. Returning: nullptr
   at: get_tree (./scene/main/node.h:283)
ERROR: Condition "!data.tree" is true. Returning: nullptr
   at: get_tree (./scene/main/node.h:283)
ERROR: Condition "!data.tree" is true. Returning: nullptr
   at: get_tree (./scene/main/node.h:283)
ERROR: Condition "!data.tree" is true. Returning: nullptr
   at: get_tree (./scene/main/node.h:283)

Steps to reproduce

Open and close editor with minimal project(only project.godot with set mobile renderer)

Minimal reproduction project

project.godot.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions