-
Notifications
You must be signed in to change notification settings - Fork 58
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
Extension classes cause exception when used from C# #270
Comments
Thank you for reporting this! I'll admit I haven't been testing C# as much as I should have, since I figured things would just work as long as you don't need to interact with any new node types exposed from the extension. This error seems to be a general problem with objects derived from other So simply doing this seems to make the C# scripting emit a bunch of errors as well: public override void _IntegrateForces(PhysicsDirectBodyState3D state)
{
} I'll look into this right away. |
It looks like this is an issue within Godot's C# integration, and not something that I can fix from the extension side of things. The relevant issue seems to be godotengine/godot#74801. I made a PR that seems to fix the problem: godotengine/godot#75955. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
The fix for this can be found in the newly released 0.4.0-rc1. I would love it if everyone/anyone subscribed to this could give it a try and report back how it works for you. |
Seems to be working properly now. |
Same for me. Working great now. |
Great to hear. Thank you both. I'll publish 0.4.0-stable first thing tomorrow. |
Calling methods on the physics server causes errors.
Example C# script:
Error:
The text was updated successfully, but these errors were encountered: