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

Typed array in parameter on RPC causes type error. #90599

Closed
tmff opened this issue Apr 12, 2024 · 1 comment
Closed

Typed array in parameter on RPC causes type error. #90599

tmff opened this issue Apr 12, 2024 · 1 comment

Comments

@tmff
Copy link

tmff commented Apr 12, 2024

Tested versions

  • Reproducable in 4.3dev4, 4.2.1

System information

Godot v4.3.dev4 - Windows 10.0.22631 - GLES3 (Compatibility) - NVIDIA GeForce GTX 1660 Ti (NVIDIA; 31.0.15.3758) - AMD Ryzen 7 5800X 8-Core Processor (16 Threads)

Issue description

When calling an RPC that has a parameter with type Array[Vector2i], it will error as it cannot convert the argument from array to array. This seems incorrect as the types are the same and works when just using the Array type, but I might be misunderstanding how RPCs work.

Steps to reproduce

Have 2 instances running, one as client and one as host. On host press the type bug button and it will throw an error.

Minimal reproduction project (MRP)

BugTesting.zip

@dalexeev
Copy link
Member

@dalexeev dalexeev closed this as not planned Won't fix, can't repro, duplicate, stale Apr 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants