Skip to content

ICall crash with 5 method args limit #491

Closed
@chippmann

Description

We have a method args limit of 5 which we enforce with:

#ifdef DEBUG_ENABLED
    JVM_CRASH_COND_MSG(args_size > VARIANT_ARG_MAX, vformat("Cannot have more than %s arguments for method call.", VARIANT_ARG_MAX));
#endif

This leads to api call to fail:

ERROR: Godot-JVM: Cannot have more than 5 arguments for method call but tried to call method "ENetMultiplayerPeer::create_client" with 6 args

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions