System.Action is not working for WebGL build

Hi guys,

so I’m using System.Action for some kind of event manager where I subscribe to one action with other scripts. Then when I trigger the action, the subscribed scripts will react to it.

This works fine in the editor and I used it before for mobile games but now that I try to use it within a WebGL build, it throws an error when I try to trigger the action like Action() because it says the method is not defined.

Do you know if System.Action is not supported for WebGL builds or do I need to do something different?

Thanks

System.Action is just a delegate type defined in a .net library. It is possible that the event you’re subscribing to is not defined in WebGL. Perhaps you could share some bit of the related code