Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Countly not working in WebGL with Package manager #880

Closed
Tracked by #820
juans-chainsafe opened this issue Feb 29, 2024 · 3 comments
Closed
Tracked by #820

Countly not working in WebGL with Package manager #880

juans-chainsafe opened this issue Feb 29, 2024 · 3 comments
Assignees
Labels
Priority: P0 Added to issues and PRs relating to a critical severity bugs. Type: Bug Added to issues and PRs if they are addressing a bug

Comments

@juans-chainsafe
Copy link
Contributor

Describe the bug
Logs are not being published into Countly dashboard when WebGL is used, in this case the SDK was imported using Package manager + Git URL

Steps
Steps to reproduce the behavior:

  1. Use the scene [SampleLogin - Web3Auth]
  2. Login with [Web3Auth]
  3. Use some of the examples to get a output

Expected behavior
Log is sent to Countly and is displayed in the dashboard.

Console errors
One of the errors that I see time to time in the console: POST https://chainsafe-40aca7b26551e.flex.countly.com/i?app_key=4d2f30cecf1b7e2b8cd909103c1fac971872aa3f&device_id=CLY_xYMQohFp1709216956288&t=1&sdk_name=csharp-unity-webgl&sdk_version=23.12.0&av=0.1&timestamp=1709217377591&hour=11&dow=4&tz=-180&events=[%0A%20%20%7B%0A%20%20%20%20%22key%22:%20%22Gelato%20initialized%22,%0A%20%20%20%20%22count%22:%201,%0A%20%20%20%20%22sum%22:%200.0,%0A%20%20%20%20%22segmentation%22:%20%7B%0A%20%20%20%20%20%20%22chain%22:%20%2211155111%22,%0A%20%20%20%20%20%20%22network%22:%20%22ETH%22,%0A%20%20%20%20%20%20%22project-id%22:%20%226aa5af5a-cf38-4093-b78a-net::ERR_CONNECTION_RESET

Screenshots/Video
Screenshot 2024-02-29 at 11 40 37

Desktop (please complete the following information):

  • Chainsafe SDK version: [main branch using Package manager with Git URL]
  • Unity Version: [2022.1]
  • Operating System: [Mac]
  • Platform: [WebGL]

Additional context
Didn't test iOS yet, it could be happened there as well or be only a WebGL issue

@juans-chainsafe juans-chainsafe added Priority: P0 Added to issues and PRs relating to a critical severity bugs. Type: Bug Added to issues and PRs if they are addressing a bug labels Feb 29, 2024
@kantagara kantagara self-assigned this Apr 1, 2024
@kantagara kantagara mentioned this issue Apr 2, 2024
24 tasks
@juans-chainsafe
Copy link
Contributor Author

This is happening in UnitySampleProject as well

@kantagara
Copy link
Contributor

@juans-chainsafe I tried it now on 2021.3 and nothing is showing up. But I'll move to 2022 LTS and confirm if error is there.
It probably is due to that cors issue, but will check

@juans-chainsafe
Copy link
Contributor Author

Issue is not happening anymore, I tried with Metamask login and Web3Auth login in WebGL and Countly worked.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Priority: P0 Added to issues and PRs relating to a critical severity bugs. Type: Bug Added to issues and PRs if they are addressing a bug
Projects
None yet
Development

No branches or pull requests

2 participants