FishNet icon indicating copy to clipboard operation
FishNet copied to clipboard

Structs can't be used across assemblies in Replicate and Reconcile methods

Open Alexejhero opened this issue 2 years ago • 0 comments

System.ArgumentException: Member 'System.UInt32 CrossAssemblyStruct::Generated___Tick' is declared in another module and needs to be imported

This happens both if the Generated___Tick field is already declared, and if it is automatically generated by fishnet

TO REPRODUCE:

  1. Make struct in assembly A
  2. Make replicate/reconcile method in assembly B using previously created struct
  3. 🔥 even though B references A

Alexejhero avatar Aug 15 '22 19:08 Alexejhero