Bug: Menu button not loading
3mdistal opened this issue · comments
I'm following the tutorial and properly loading the Autoload, etc. All functionality is there, with no errors in the console.
However, there is no menu button visible in the plugin.
The menu button is visible and there in the code (I went and checked the menu scene), but it doesn't appear in the plugin.
I'm on Godot 4.2.1 stable.
I went to the editor_toolbar.tscn
and gave the Menu button a custom minimum size, for testing purposes. Now, I just see an unclickable gap.
This is on a brand new project, by the way, with Cyclops being the only plugin installed, just to reduce the chance of something interfering.
I am also now seeing "Can't take value from empty array." occasionally in the console.
The same behavior (minus the console error) also happens if I go and run the editor_toobar.tscn
scene independently.
I don't know why that is happening. It's just a standard MenuBar control, so it should work. Maybe there's something strange with your Godot installation? What OS are you using? I'm not sure what I might be able to do about this.
The version of Godot i'm using is v4.2.stable.official [46dc27791]
The Can't take value from empty Array.
is being called by Godot from something in the scene graph. It doesn't provide any further information on what is causing it, so I have little idea where to look to try and debug it. It doesn't seem to affect the running of Cyclops, though.
I just tried again with v4.2.1.stable.official [b09f793f5] and it's displaying properly there too. Are you running off of a cloned Github branch or off of the zip file from the releases?
I'm running off the zip file from the release. I'll try cloning it this morning, too, doing some fresh installs, etc. I completely agree—I can't find any reason in the code that the button would be disappearing.
Getting the same problem. No menu bar.
Godot 4.2
cyclopsbuilder 1.0.2
Plugin successfully enabled.
Hi @3mdistal and @keshavagrawal89
I encountered the same issue and found a workaround to display the menu.
I've committed the change. Let me know if this is still causing issues.
Hi @blackears
I have installed the addon from the master
branch, and it work perfectly for me !