You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to call event with any numerics on client-side it triggers an exception: System.NullReferenceException: Object reference not set to an instance of an object.
client-side code (main class, inherited of Resource. Also tried AsyncResource):
Description of the problem
When I try to call event with any numerics on client-side it triggers an exception:
System.NullReferenceException: Object reference not set to an instance of an object.
client-side code (main class, inherited of Resource. Also tried AsyncResource):
Same problem with int:
float type just crash the client, with no extra exceptions in client logs
Null-ref triggers on this line:
TestEvent?.Invoke
If I change int/byte/enum to string or custom class - this code works fine, without exceptions
Reproduction steps
Expected behaviour
No exceptions for numberics types in Actions
Operating system
Windows 10
Version
Client version: 16.0.100 / 16.0.0-dev.239 / AltV.Net.Client 16.0.3
Server version: 16.0.100 / 16.0.0-dev.239 / AltV.Net 16.0.3
The text was updated successfully, but these errors were encountered: