System.EventHandler is not allowed.
What is the suggested way then to handle asynchronous events server-side?
For example, a user joins a room but a big action between current players is currently being processed so I don't want this new user to be able to start playing until the action is completed.
Thanks for the help in advance.
(Edit: I tried replacing the EventHandler delegate with something like Action, still doesn't work. Error seems to be with the "uses the non-allowed method: !!0 System.Threading.Interlocked::CompareExchange<System.EventHandler>(!!0&,!!0,!!0)")