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

Error calling deferred method: 'PinJoint2D::Joint2D::_update_joint': Method expected 1 arguments, but called with 0. Error on project start. #90107

Closed
chrisl8 opened this issue Apr 1, 2024 · 7 comments · Fixed by #90340

Comments

@chrisl8
Copy link
Contributor

chrisl8 commented Apr 1, 2024

Tested versions

EDIT: Reproducible with: Godot v4.3.dev (29b3d9e)

EDIT: I will update with a better starting commit later if this isn't solved before I find it. My previous "working"/"not working" commits were mistaken.
It seems like this error started some time back though.

For sure it does not happen in 4.2.1, so it is a new error for 4.3, at least in this project.

System information

Godot v4.3.dev (29b3d9e) - Windows 10.0.22621 - GLES3 (Compatibility) - NVIDIA GeForce RTX 3080 Ti (NVIDIA; 31.0.15.5186) - AMD Ryzen 9 5900X 12-Core Processor (24 Threads)

Issue description

New error on code that works in 4.2.1:

ERROR: Error calling deferred method: 'PinJoint2D::Joint2D::_update_joint': Method expected 1 arguments, but called with 0.
   at: CallQueue::_call_function (core\object\message_queue.cpp:223)

Steps to reproduce

Start up the Godot Physics-Based Platformer 2D demo project and it shows this error immediately:

ERROR: Error calling deferred method: 'PinJoint2D::Joint2D::_update_joint': Method expected 1 arguments, but called with 0.
   at: CallQueue::_call_function (core\object\message_queue.cpp:223)
ERROR: Error calling deferred method: 'PinJoint2D::Joint2D::_update_joint': Method expected 1 arguments, but called with 0.
   at: CallQueue::_call_function (core\object\message_queue.cpp:223)

Minimal reproduction project (MRP)

Use the Physics-Based Platformer 2D demo project found here:
https://github.com/godotengine/godot-demo-projects/tree/master/2d/physics_platformer

@AThousandShips
Copy link
Member

AThousandShips commented Apr 1, 2024

Can you do a bisect to pinpoint what commit actually introduced this? You're listing a period of 3 months

Also can you try a recent commit? You're testing a 2 months old commit

@chrisl8
Copy link
Contributor Author

chrisl8 commented Apr 1, 2024

Can you do a bisect to pinpoint what commit actually introduced this? You're listing a period of 3 months

Also can you try a recent commit? You're testing a 2 months old commit

Sorry I wasn't clear, it happens on Master too, the latest version.

But yes, I can do some more checking to figure out what point it actually happened started happening. I was attempting to do that, but now realize I failed, sorry. I'll update when I find the precise commit.

Again though, it also happens on Master. I was just trying to pinpoint when it started, but clearly didn't do a great job of that.

@chrisl8
Copy link
Contributor Author

chrisl8 commented Apr 1, 2024

FYI: Here it is still happening on Commit 29b3d9e

Godot v4.3.dev (29b3d9e) - Windows 10.0.22621 - GLES3 (Compatibility) - NVIDIA GeForce RTX 3080 Ti (NVIDIA; 31.0.15.5186) - AMD Ryzen 9 5900X 12-Core Processor (24 Threads)

Godot Engine v4.3.dev.custom_build (c) 2007-present Juan Linietsky, Ariel Manzur & Godot Contributors.
  scene\resources\text_paragraph.cpp:420 - Condition "p_font.is_null()" is true. Returning: false
--- Debug adapter server started ---
--- GDScript language server started on port 6005 ---
  core\object\message_queue.cpp:223 - Error calling deferred method: 'PinJoint2D::Joint2D::_update_joint': Method expected 1 arguments, but called with 0.
  core\object\message_queue.cpp:223 - Error calling deferred method: 'PinJoint2D::Joint2D::_update_joint': Method expected 1 arguments, but called with 0.

@AThousandShips
Copy link
Member

It's good to list the current version if you want to make sure people know it's still occurring

@chrisl8
Copy link
Contributor Author

chrisl8 commented Apr 1, 2024

@AThousandShips

I believe the error messages started at this point:
ba96dbb...087a397

Yes, that is some months ago, but building 087a397 (and later) produces the error when running the demo project, while building from ba96dbb (and earlier) does not.

@ianmckenna87
Copy link

ianmckenna87 commented Apr 6, 2024

got this bug too on 4.3 dev 5

@akien-mga
Copy link
Member

That would be #86301, cc @KoBeWi

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