FishNet
FishNet copied to clipboard
Structs can't be used across assemblies in Replicate and Reconcile methods
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:
- Make struct in assembly A
- Make replicate/reconcile method in assembly B using previously created struct
- 🔥 even though B references A