# Semantic Problems with DoesChannelExist() On Device

**URL:** <https://community.nianticspatial.com/t/semantic-problems-with-doeschannelexist-on-device/964>\
**Category:** I'm Stuck\
**Created:** [December 21, 2021, 8:54pm UTC](https://community.nianticspatial.com/t/semantic-problems-with-doeschannelexist-on-device/964 "2021-12-21T20:54:13Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Scott\_Vander\_Pryt](https://avatars.discourse-cdn.com/v4/letter/s/ecccb3/32.png) [@Scott\_Vander\_Pryt](https://community.nianticspatial.com/u/Scott_Vander_Pryt)\
**Post date:** [December 21, 2021, 8:54pm UTC](https://community.nianticspatial.com/t/semantic-problems-with-doeschannelexist-on-device/964/1 "2021-12-21T20:54:13Z")

</div>

_Include the following details (edit as applicable):_

- **Issue category** : Semantic Segmentation
- **Device type & OS version** : Android / iOS /
- **Host machine & OS version** : Mac / Windows
- **Issue Environment** : On Device
- **Xcode version** : 13.1
- **ARDK version** : 1.0.1
- **Unity version** : 2019.4.33f

Description of the issue:  
I’m having issues with the method semanticManager.SemanticBufferProcessor.AwarenessBuffer.DoesChannelExist(“sky”). In editor everything works perfect using the mock semantic labels. But once I build to device (iPhone12, Samsung S20) the method just always returns false and never finds the channel, this happens with all semantic labels, not just sky.

However when I use DoesChannelExistAt(x,y) and do it on tap, I do get the correct return value on device.

Does anyone know if this is a bug, or if im just maybe not doing something correctly?

---

<div class="post-metadata">

**Author:** ![Moranda\_Nalls1](https://avatars.discourse-cdn.com/v4/letter/m/51bf81/32.png) [@Moranda\_Nalls1](https://community.nianticspatial.com/u/Moranda_Nalls1)\
**Post date:** [December 23, 2021, 12:45am UTC](https://community.nianticspatial.com/t/semantic-problems-with-doeschannelexist-on-device/964/2 "2021-12-23T00:45:40Z")

</div>

Hi Scott, this is a known issue. Apologies for the inconvenience. There is a workaround in our Basic Querying Semantics tutorial, [https://www.youtube.com/watch?v=WletdREtj4Y&t=1200s](https://www.youtube.com/watch?v=WletdREtj4Y&t=1200s). You can see how the developer created a bit of logic to use the proper casing when on editor and on device around the 34 minute mark. Also, try testing Sky to see if it’s true in Editor and false on device. I hope this helps.

---

<div class="post-metadata">

**Author:** ![Scott\_Vander\_Pryt](https://avatars.discourse-cdn.com/v4/letter/s/ecccb3/32.png) [@Scott\_Vander\_Pryt](https://community.nianticspatial.com/u/Scott_Vander_Pryt)\
**Post date:** [December 23, 2021, 7:08pm UTC](https://community.nianticspatial.com/t/semantic-problems-with-doeschannelexist-on-device/964/3 "2021-12-23T19:08:09Z")

</div>

Unfortunately I was already aware of this particular bug from watching that video and have tried that to no success. I also always get false returns when using DoesChannelExist(int) so im not sure it has anything to do with spelling or case sensitivity in this case as DoesChannelExistAt(x,y) will return true with proper casing, or by using int index.

For the time being ive created a hacky non performant solution that isnt as accurate by continuously pinging 30 spread out spots on the screen using DoesChannelExistAt, but its not ideal to run embedded loops on Update, and can be false even when the channel does exist.

---

<div class="post-metadata">

**Author:** ![Moranda\_Nalls1](https://avatars.discourse-cdn.com/v4/letter/m/51bf81/32.png) [@Moranda\_Nalls1](https://community.nianticspatial.com/u/Moranda_Nalls1)\
**Post date:** [January 7, 2022, 11:17pm UTC](https://community.nianticspatial.com/t/semantic-problems-with-doeschannelexist-on-device/964/4 "2022-01-07T23:17:56Z")

</div>

Hi Scott, apologies for the delay. We are working on your issue. Thank you for your patience.

---

<div class="post-metadata">

**Author:** ![Moranda\_Nalls1](https://avatars.discourse-cdn.com/v4/letter/m/51bf81/32.png) [@Moranda\_Nalls1](https://community.nianticspatial.com/u/Moranda_Nalls1)\
**Post date:** [January 13, 2022, 7:28pm UTC](https://community.nianticspatial.com/t/semantic-problems-with-doeschannelexist-on-device/964/5 "2022-01-13T19:28:48Z")

</div>

Hi Scott, are you still experiencing this issue? If so, please provide the steps you took to reproduce the workaround you mentioned above? Thanks.

---

<div class="post-metadata">

**Author:** ![Moranda\_Nalls1](https://avatars.discourse-cdn.com/v4/letter/m/51bf81/32.png) [@Moranda\_Nalls1](https://community.nianticspatial.com/u/Moranda_Nalls1)\
**Post date:** [January 21, 2022, 10:32pm UTC](https://community.nianticspatial.com/t/semantic-problems-with-doeschannelexist-on-device/964/6 "2022-01-21T22:32:04Z")

</div>

Hi Scott, I hope your issue was resolved. Please open a new topic if more help is needed. Thanks.

---

<div class="post-metadata">

**Author:** ![Anthony\_Melo](https://avatars.discourse-cdn.com/v4/letter/a/eb8c5e/32.png) [@Anthony\_Melo](https://community.nianticspatial.com/u/Anthony_Melo)\
**Post date:** [March 14, 2022, 9:04pm UTC](https://community.nianticspatial.com/t/semantic-problems-with-doeschannelexist-on-device/964/7 "2022-03-14T21:04:00Z")

</div>

Hi Moranda,

I am also having the same issue as Scott. DoesChannelExist returns false, regardless of the spelling case or the index.

I can only check for a channel by providing a specific xy coordinate.

---

<div class="post-metadata">

**Author:** ![chiara\_passa](https://sea2.discourse-cdn.com/niantic/user_avatar/community.nianticspatial.com/chiara_passa/32/780_2.png) [@chiara\_passa](https://community.nianticspatial.com/u/chiara_passa)\
**Post date:** [June 13, 2022, 12:30pm UTC](https://community.nianticspatial.com/t/semantic-problems-with-doeschannelexist-on-device/964/9 "2022-06-13T12:30:06Z")

</div>

Hi all,

The proposed solution made by the developer in the video tutorial for me doesn’t work.I am wondering if some of you fixed the bug in some way… I haven’t understood Scott\_Vander\_Pryt hacky solution. Thanks in advance for any advice that makes this work and for your patience with beguinners like me.

Best regards, Chiara

 ![solution-not](https://us1.discourse-cdn.com/niantic/original/1X/dcc101babf357c97b9cc6355d8c2517cba866eec.jpeg)  
[Semantics.cs](https://community.nianticspatial.com/uploads/short-url/xU7ipHw9Bqh2NgwRpo5uLGEdaii.cs) (4.5 KB)

---

<div class="post-metadata">

**Author:** ![chiara\_passa](https://sea2.discourse-cdn.com/niantic/user_avatar/community.nianticspatial.com/chiara_passa/32/780_2.png) [@chiara\_passa](https://community.nianticspatial.com/u/chiara_passa)\
**Post date:** [June 13, 2022, 3:18pm UTC](https://community.nianticspatial.com/t/semantic-problems-with-doeschannelexist-on-device/964/10 "2022-06-13T15:18:01Z")

</div>

Hi Scott,  
I hope you’re doing well.  
I am writing because I am struggling to find a solution without success. I am wondering if you are so kind as to explain to me how you fixed the bug. thanks in advance.  
Best, Chiara

---

<div class="post-metadata">

**Author:** ![Moranda\_Nalls1](https://avatars.discourse-cdn.com/v4/letter/m/51bf81/32.png) [@Moranda\_Nalls1](https://community.nianticspatial.com/u/Moranda_Nalls1)\
**Post date:** [June 13, 2022, 3:46pm UTC](https://community.nianticspatial.com/t/semantic-problems-with-doeschannelexist-on-device/964/11 "2022-06-13T15:46:20Z")

</div>

Hi, sorry you’re experiencing issues with Semantics. Currently, there are no known issues at this time. Make sure you’re using ARDK 2.0 and the most recent version of Unity for best performance.

For more information follow the [Querying Semantic](https://lightship.dev/docs/ardk/context_awareness/semantic_segmentation/basic_querying_semantics_tutorial.html) tutorial for assistance.

---

<div class="post-metadata">

**Author:** ![chiara\_passa](https://sea2.discourse-cdn.com/niantic/user_avatar/community.nianticspatial.com/chiara_passa/32/780_2.png) [@chiara\_passa](https://community.nianticspatial.com/u/chiara_passa)\
**Post date:** [June 13, 2022, 3:50pm UTC](https://community.nianticspatial.com/t/semantic-problems-with-doeschannelexist-on-device/964/12 "2022-06-13T15:50:12Z")

</div>

Yes I use ARDK 2.0 and unity 2021. I followed the tutorial and nothing work on the phone, work only in unity editor.  
So I tried The proposed solution from the official developer (attached image) via video, but doesn’t work for me. indeed, if I add the suggested lines of code, it gets worse and no longer works even in the unity editor.

 ![si](https://us1.discourse-cdn.com/niantic/original/1X/645a12b1e7ba2229828fee68fb671e19e59515e9.jpeg)

---

<div class="post-metadata">

**Author:** ![Maverick\_Niantic](https://avatars.discourse-cdn.com/v4/letter/m/8edcca/32.png) [@Maverick\_Niantic](https://community.nianticspatial.com/u/Maverick_Niantic)\
**Post date:** [March 5, 2026, 11:50pm UTC](https://community.nianticspatial.com/t/semantic-problems-with-doeschannelexist-on-device/964/13 "2026-03-05T23:50:22Z")

</div>

Age
