Search Issue Tracker

Fixed in 2021.2.X

Fixed in 2019.4.X, 2020.3.X, 2021.1.X

Votes

1

Found in

Issue ID

1320393

Regression

No

Application.OpenURL() not working for WebGL builds

WebGL

-

Steps to reproduce:
1. Use "Application.OpenURL()" API in Script to open a Website.
2. Build project as "WebGL" build target.
3. Trigger script in "WebGL" build.

Expected behaviour:
Website is opened in new window or tab.

Actual behaviour:
Website is loaded in same tab as the game causing the game to be exited.

Notes:
Issue only reproducible in WebGL builds.

Comments (2)

  1. 164a2a4845715065f27b0f49063300cf?d=mm

    nenadrad

    Jun 15, 2021 12:06

    We have the same problem as the previous commenter. Can an additional parameter be added to this function in order to be able to choose if the URL is going to be opened in the same window or in a new window?

  2. Ce2ff49b90f6d3301b213d065a6162b8?d=mm

    vinodlobo

    Jun 09, 2021 16:17

    Our application required staying within the same tab when calling an exit URL. Thus this "bug fix" broke our application. How can we call a link that stays within the same tab?

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.