You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_ready() is not called at all. From the tests I did with a super minimal example, it should be called after _init() -- without having to open the popup.
When opening the popup, I get this error message:
E 0:00:01:0485 Error calling method from signal 'about_to_show': 'PopupPanel::on_about_to_show': Method not found.
<C Source> core/object.cpp:1238 @ emit_signal()
<Stack Trace> MainScene.gd:9 @ _unhandled_input()
I was not able to reproduce either of these issues starting from scratch with a minimal example, only when reducing my existing project down to the attached version.
Steps to reproduce:
Run the attached project and press T to open the popup.
The text was updated successfully, but these errors were encountered:
mitchcurtis
changed the title
PopupPanel _ready() not called, errors
PopupPanel _ready() not called, "error calling method from signal" upon opening
Aug 11, 2019
OK, I figured out a workaround for #1: attach the SavePopup.gd script to the instance of SavePopup. This shouldn't be necessary, since SavePopup.tscn already has a script attached to its root node.
I'm not sure how the script managed to get removed, as every time I add an instance now, while testing, it has a script attached. Still, should it matter? Shouldn't instances of a .tscn use the script attached to the root node of that .tscn?
Godot version:
3.1
OS/device including version:
macOS 10.14.6
MacBook Pro
Issue description:
I was not able to reproduce either of these issues starting from scratch with a minimal example, only when reducing my existing project down to the attached version.
Steps to reproduce:
Run the attached project and press T to open the popup.
Minimal reproduction project:
popup-test.zip
The text was updated successfully, but these errors were encountered: