Search Issue Tracker

Fixed in Unity 2017.3.0f3

Votes

0

Found in

5.6.0p3

Issue ID

911870

Regression

No

Application.isMobilePlatform returns false on WebGL projects launched on mobile browser

WebGL

-

-

Priority: 5Not yet prioritized for a release

-

Severity: 3Workaround is possible

Reproduction steps:
1) Download and open attached project
2) Build for WebGL platform
3) Host game locally
4) Open hosted project via mobile device

Actual result:
Application.isMobilePlatform returns false - "Mobile: false" is being printed

Expected result:
As game was launched on mobile, Application.isMobilePlatform should return true - print "Mobile: true" on screen

Reproduced with:
2017.1.0b5, 5.6.1p1, 5.5.3p3, 5.4.5p2, 5.4.0f1

Tested with:
Samsung Galaxy S7
LG G3
Google Pixel
iPhone SE
iPhone 6 Plus

All about bugs

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