# How to check if a player is in android device?

**URL:** <https://ask.vrchat.com/t/how-to-check-if-a-player-is-in-android-device/24790>\
**Category:** Help!\
**Tags:** world, udon\
**Created:** [May 29, 2024, 1:12am UTC](https://ask.vrchat.com/t/how-to-check-if-a-player-is-in-android-device/24790 "2024-05-29T01:12:44Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Let\_me](https://yyz1.discourse-cdn.com/vrchat/user_avatar/ask.vrchat.com/let_me/32/19258_2.png) [@Let\_me](https://ask.vrchat.com/u/Let_me)\
**Post date:** [May 29, 2024, 1:12am UTC](https://ask.vrchat.com/t/how-to-check-if-a-player-is-in-android-device/24790/1 "2024-05-29T01:12:44Z")

</div>

Hi all. I wanted to ask if anyone knows how to check if a player is using a android device or a PC?  
Since I wanted to make a player list that will display if a player is in android.  
I’m using udonsharp for this. Thank you!

---

<div class="post-metadata">

**Author:** ![ArcaneBlackwood](https://yyz1.discourse-cdn.com/vrchat/user_avatar/ask.vrchat.com/arcaneblackwood/32/25378_2.png) [@ArcaneBlackwood](https://ask.vrchat.com/u/ArcaneBlackwood)\
**Post date:** [July 9, 2024, 12:38am UTC](https://ask.vrchat.com/t/how-to-check-if-a-player-is-in-android-device/24790/2 "2024-07-09T00:38:01Z")

</div>

A fairly simple solution, you could have your script have a public boolean that you set in the inspector. Since you upload two different versions for PC and Quest, you could change this variable depending on the world type. Not the best solution, but it could work!

You could sync this value over the network too. Maybe having an array of GameObjects with attached scripts, each owned by each user and their platform shared. I could imagine the manager for this being a little confusing and complex, making sure that when players leave, they are marked as unclaimed and returned to the master for reuse. Making sure to handle when the master leaves too.

---

<div class="post-metadata">

**Author:** ![Tom\_Leylan](https://yyz1.discourse-cdn.com/vrchat/user_avatar/ask.vrchat.com/tom_leylan/32/16626_2.png) [@Tom\_Leylan](https://ask.vrchat.com/u/Tom_Leylan)\
**Post date:** [July 9, 2024, 4:27am UTC](https://ask.vrchat.com/t/how-to-check-if-a-player-is-in-android-device/24790/3 "2024-07-09T04:27:50Z")

</div>

Using the preprocessor works well.

```auto
#if UNITY_ANDROID
        public const Boolean IsQuest = true;
        public const String DeviceName = "Quest";
#else
        public const Boolean IsQuest = false;
        public const String DeviceName = "PCVR";
#endif

        public const Boolean IsPCVR = !IsQuest;

```

---

<div class="post-metadata">

**Author:** ![Let\_me](https://yyz1.discourse-cdn.com/vrchat/user_avatar/ask.vrchat.com/let_me/32/19258_2.png) [@Let\_me](https://ask.vrchat.com/u/Let_me)\
**Post date:** [July 19, 2024, 10:34pm UTC](https://ask.vrchat.com/t/how-to-check-if-a-player-is-in-android-device/24790/4 "2024-07-19T22:34:13Z")

</div>

Sorry it took awhile didn’t know that people would respond but thanks guys will try out.

I’m not sure if i should create a new topic but I would also like to ask if you guys happen to know how to check if you are still connected in the internet or in VRC server? Since Networking.IsNetworkSettled doesn’t work (Or i’m not using it as intended). Thank you

---

<div class="post-metadata">

**Author:** ![Tom\_Leylan](https://yyz1.discourse-cdn.com/vrchat/user_avatar/ask.vrchat.com/tom_leylan/32/16626_2.png) [@Tom\_Leylan](https://ask.vrchat.com/u/Tom_Leylan)\
**Post date:** [July 22, 2024, 11:27pm UTC](https://ask.vrchat.com/t/how-to-check-if-a-player-is-in-android-device/24790/5 "2024-07-22T23:27:30Z")

</div>

Like people are walking around in a world and you would detect that the Internet is down for a player or VRC’s servers are not responding? And then you do what?

I can’t see how this could be handled in any meaningful way.

---

<div class="post-metadata">

**Author:** ![Zoidrawz](https://yyz1.discourse-cdn.com/vrchat/user_avatar/ask.vrchat.com/zoidrawz/32/42644_2.png) [@Zoidrawz](https://ask.vrchat.com/u/Zoidrawz)\
**Post date:** [October 21, 2025, 11:22am UTC](https://ask.vrchat.com/t/how-to-check-if-a-player-is-in-android-device/24790/6 "2025-10-21T11:22:31Z")

</div>

Is there a way to do this in UDON graph?

I want my world to disable certain special shaders for Android / Quest users because they don’t render them properly.
