ERROR: PopupMenu::set_item_checked: Index p_idx out of size (items.size()).

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Genji
:warning: Old Version Published before Godot 3 was released.

I’m getting these errors every time I’m switching between tabs in the Editor for one of my projects (but not others). I didn’t remember what I was doing at the point this error began showing up. The project runs fine, so I’m wondering what could be causing this issue:

MUST RELOAD? 0 //(not an error)
ERROR: PopupMenu::set_item_checked:  Index p_idx out of size (items.size()).
    At: scene\gui\popup_menu.cpp:659
ERROR: PopupMenu::set_item_checked:  Index p_idx out of size (items.size()).
    At: scene\gui\popup_menu.cpp:706
ERROR: PopupMenu::set_item_checked:  Index p_idx out of size (items.size()).
    At: scene\gui\popup_menu.cpp:659

I remember getting similar errors while developping a plugin, but all was fine. No call stack given so I never figured out what it was.

Zylann | 2016-10-19 12:30

I’m gretting them when I attempt to build.

TheIronGod | 2020-12-22 05:23