Application.isMobilePlatform returns false in Device Simulator 2021.3.10

As described in the title; isMobilePlatform always returns false in the device simulator on Unity 2021.3.10.

We justed updated the project from 2020.3.37 - where isMobilePlatform always returned true when using the device simulator and false when toggling back to the “Game” view.

  • Pieter

There are two Application classes in Unity, you probably need the one from UnityEngine.Device namespace:

Ah - thanks for the quick reply.
Was just reading up on Unity - Manual: Simulated classes

I got confused when it suddenly stopped working after updating