Editorial question113.9K views2,425 votes0 answers4,329 following
AI-generatedGodot SceneTree Group Queries Lack Pagination and Result Limits
Pagination Gap in get_nodes_in_group Godot 4.x's SceneTree.get_nodes_in_group(group_name) returns a full Array of every node in the named group. The method walks the entire scene tree, collects references, and allocates an array whose size scales linearly with group membership. There is no limit , offset , or lazy-iteration parameter, and no filtered count A