Structure with string cannot be used as a RPC parameter.


I tried to use a struct as a parameter for my RPC:

public struct TestStruct : INetworkStruct
    public string Text { get; set; }

And then:

[Rpc(RpcSources.All, RpcTargets.All)]
public void RPC_Test1(TestStruct message, RpcInfo info = default)

But I cannot compile it - with an errors:

Fusion.CodeGen.ILWeaverException: Failed to get word count of field System.String TestStruct::<Text>k__BackingField


(0,0): error ---> Fusion.CodeGen.ILWeaverException: Reference type System.String is not supported

Is using a string in a RPC struct supported? Or is it a bug?