Up to recently everything was okay until something happened with Actions in C#.
I've met trouble invoking action with primitive types, while I never encountered this issue before (I was using it succesfully before).
Invoke action with primitive type (maybe any structure) - Object reference not set to an instance of an object.
Invoke action with string (and custom classes) - OK.
Dynamic invoke with primitive type - OK.
Foreach invoke action.GetInvocationList() - OK.
Error happens only with .Invoke() method with primitive(structure) types.
With client config disableRestrictedSandbox = true error was gone and .Invoke() works perfectly.
[X] By submitting this ticket, I affirm that I have verified the presence of this issue on the latest RC (Release Candidate) version available at the time of writing this ticket.
We had the same problem when we tried to use a dynamically set Action and then trying to trigger it crashed the client without any logs for us. We then found a workaround and it was just using a class for it like a class named "dummyClass" with one Property of type boolean and everything worked fine again. That wrapping is sad but worked for us.
Description of the problem
Up to recently everything was okay until something happened with Actions in C#.
I've met trouble invoking action with primitive types, while I never encountered this issue before (I was using it succesfully before).
Invoke action with primitive type (maybe any structure) - Object reference not set to an instance of an object. Invoke action with string (and custom classes) - OK. Dynamic invoke with primitive type - OK. Foreach invoke action.GetInvocationList() - OK.
Error happens only with .Invoke() method with primitive(structure) types.
With client config disableRestrictedSandbox = true error was gone and .Invoke() works perfectly.
Reproduction steps
Expected behaviour
.Invoke() method works as well
Additional context
No response
Operating system
Windows 11
Version
16.2.26
Crashdump ID
No response
Confirmation of issue's presence