I am having an issue where custom events are not showing in Event Browser on the dashboard (or via Data explorer).
I can confirm built in events such as “gameStarted” and “gameRunning” are displaying - Why are my custom events not showing in Event Browser? How can I debug the issue?
I am testing these through the Unity editor (awaiting Unity to allow support for WebGL builds).
I have a custom event “switchModel” with a custom parameter “modelName” assigned:
Do you have your Custom Event firing?
Try putting your Custom Event on a button to test it.
It could just be that you aren’t firing the Custom Event
If that doesn’t work be sure to let me know and we’ll dig a little deeper.
Could you hit that button for me on your dashboard and then test your project in the editor confirming if we can see anything in your Dashboard > Event Browser.
Hi Julian,
All steps were completed previously, the last step cannot be “completed” so the “Set up Analytics” button will (presumably?) never disappear:
If this this still isn’t working, we can update Analytics to a version not yet in the package manager, which does support WebGL.
To do this, please go to your Manifest file found in your Project Name > Packages folder, find com.unity.services.analytics and amend the version number to 4.2.0 then save and close.
This will then update the package to the latest version and allow you to use it with WebGL.
This is quite interesting. I tested sending a custom event with 4.2.0 myself just to be on the safe side, and it was received in my project without issue.
Can you try replacing the modelName with a fixed string value for the time being and seeing if that makes a difference?
It certainly seems like the event isn’t being sent by the SDK in the first place, which is a very unusual circumstance.
To verify this, we’d recommend intercepting the payload with a proxy tool