-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
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
parse error with typed gdscript #20346
Comments
cc @vnen |
Running a project on Android with Godot, 1 commit before #19264, works fine. After compiling master and testing on Android, I get a similar error:
BTW I changed _set_error("Too many arguments for '" + callee_name + "()' call. Expected at most " + itos(arg_types.size()) + " but called with " + itos(arg_count) + ".", p_call->line); // Added arg_count to help debugging BTW it is working fine in Windows and Linux. The error only happens in Android. |
Similar problem also for windows export on version f8e8ac2. Trying to export the multiplayer bomber demo project gives similar error messages for a debug export. Swapping all the str() calls with string interpolations did not solve the issue though. But might be related. Minimal setup:
This script in the startup scene will cause a crash with the following error:
Also in this case, exporting with debug off seems to work fine. |
@jahd2602 for me, exported apk with release works fine, but has above error with debug. |
Godot version:
3.1.dev 7478649
OS/device including version:
Kubuntu 18.04 / Android 8.0 (galaxy s8+)
Issue description:
str()
causes parse error with exported game.I tested on Linux & Android.
Running in editor is fine.
I definitely compiled new x11, android templates with latest source code.
Steps to reproduce:
Note that exported with release does not have this issue.
Minimal reproduction project:
Test typed gdscript.zip
The text was updated successfully, but these errors were encountered: