Closed
Description
Tested versions
4.4dev7
System information
Godot v4.4.dev7 - Windows 10 (build 19045) - Multi-window, 1 monitor - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3060 (NVIDIA; 32.0.15.6636) - AMD Ryzen 7 5800X 8-Core Processor (8 threads)
Issue description
Let's say you have a PlayerData
Object
that for convenience defines a constructor:
class_name PlayerData extends Object
var position: Vector3
var rotation: Vector3
func _init(position_: Vector3, rotation_: Vector3) -> void:
self.position = position_
self.rotation = rotation_
When you try to send a PlayerData
over RPC, the receiving side fails to decode it because it doesn't know what to put into these arguments.
Steps to reproduce
Download the MRP. Open Debug > Customize Run Instances and configure it as shown here:
Run the project. Observe the errors.