Skip to content

Startup Tracing Integration for WebGL #1000

Closed

Description

@bitsandfoxes

Currently, the startup tracing integration is disabled for WebGL due to the UnityWebRequestTransport seemingly not being ready this early in the runtime.
This could be solved by creating timestamps instead of starting the spans and creating and sending the transaction after the fact.

Activity

  1. bitsandfoxes commented on Oct 11, 2022

    @bitsandfoxes
    ContributorAuthor

    Another approach would be to take care of this from within the "background worker" since he is the one not ready at that him.

  2. daverge commented on Mar 20, 2024

    @daverge

    anything new on this topic? Is there a way to change the environement for the sentryy logs at runtime? I tried using the runtime configuration but then inspecting the code on why it doesn't work there was link refering to this issue. i see it's more than a year old. Anything new on this topic? <3 =)

  3. moved this to Waiting for: Product Owner in GitHub Issues with 👀 2on Mar 20, 2024
  4. bitsandfoxes commented on Apr 2, 2024

    @bitsandfoxes
    ContributorAuthor

    Sorry, we don't have an update on this.
    Regarding setting the environment, do you mind creating a new issue with details what it is that you're trying to do and how you're doing it? Setting the environment via the configuration options is the way to go.

  5. moved this from Waiting for: Product Owner to No status in GitHub Issues with 👀 2on Apr 2, 2024
  6. daverge commented on Apr 15, 2024

    @daverge

    @bitsandfoxes thanks for the reply.
    I am using unity 3d and i tried using the runtime configuration in order to set the environment variable. I added a debug log, and in the editor it gets called (and when throwing an exception triggered by some keyboard key, the sentry log shows the correct environment too!), but on a webGL deployement in the browser it doesn't get called (leaving the environment at the default, which is production for builds (and editor for editor)).
    since the 3d player is embedded in another webapp which has the orchestrating CI setup, the environments dev, test and production need to be set by that pipeline (and then read at runtime by the 3d viewer)

  7. moved this to Waiting for: Product Owner in GitHub Issues with 👀 2on Apr 15, 2024
  8. bitsandfoxes commented on Apr 15, 2024

    @bitsandfoxes
    ContributorAuthor

    That sounds like a bug, do you mind opening another issue for this? Thanks, much appreciated.

  9. moved this from Waiting for: Product Owner to No status in GitHub Issues with 👀 2on Apr 15, 2024
  10. bitsandfoxes commented on Nov 12, 2025

    @bitsandfoxes
    ContributorAuthor

    Superseded by #2415

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions