Semantic Problems with DoesChannelExist() On Device

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?

Hi Scott, this is a known issue. Apologies for the inconvenience. There is a workaround in our Basic Querying Semantics tutorial, 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.

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.

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

1 Like

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

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

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.