Skip to content
This repository was archived by the owner on Apr 19, 2026. It is now read-only.
This repository was archived by the owner on Apr 19, 2026. It is now read-only.

WWW request causes infinite while loop in web player #10

Description

@shochet

GoogleAnalyticsMPV3.cs : Line 126-128
WWW request = new WWW(newUrl);
while (!request.isDone) {
}

This while loop causes a lockup when run in the web player, per Unity documentation:
http://docs.unity3d.com/ScriptReference/WWW-isDone.html

This should be changed to make the WWW request inside a StartCoroutine and yield until finished:
WWW request = new WWW(newUrl);
yield return request;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions