Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Invalid call. Nonexistent function '_ready'" error when I call super() in child class _ready #81799

Closed
rob1gat opened this issue Sep 17, 2023 · 2 comments · Fixed by #81577
Closed

Comments

@rob1gat
Copy link

rob1gat commented Sep 17, 2023

Godot version

v4.2.dev4.official [549fcce]

System information

Godot v4.2.dev4 - Linux Mint 21.1 (Vera) - X11 - Vulkan (Forward+) - dedicated AMD Radeon RX 6700 XT (RADV NAVI22) () - 12th Gen Intel(R) Core(TM) i5-12400 (12 Threads)

Issue description

Switching my project from 4.1.1 to 4.2.dev4, I can't launch it anymore.

I have a BaseClass and an InheritedClass, both implementing _ready. InheritedClass::_ready calls super().
When I launch, I have a Invalid call. Nonexistent function '_ready' error on the super() line.

Minimal reproduction project

MRP_InvalidCallNonExistentReady.zip

@KoBeWi
Copy link
Member

KoBeWi commented Sep 17, 2023

Can't reproduce in 4df80b0
EDIT:
I can however reproduce it in dev4, which means it was fixed already and the code will work in dev5. Closing.

@aaronfranke
Copy link
Member

Fixed by #81577 (merged 1 day before this issue was opened, and 5 days after dev4)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants