App crashing in ViewController+SLAM line 303

I m using
Structure SDK version

  • major : 0
  • minor : 11
  • patch : 2
    Swift 5
    IOS SDK 13


  1. Pull the current code
  2. Connect Structure IO and click on Scan
  3. Press stop
  4. Click Scan again
  5. App crashes

I have added the screenshot add highlighted the line
Crash Log:
Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: ‘*** +[NSString stringWithUTF8String:]: NULL cString’
*** First throw call stack:
(0x19a80b80c 0x19a533fa4 0x19aabdc9c 0x103386c94 0x1030ce3ec 0x1011deea8 0x1011e5b2c 0x1011e5c70 0x103017448 0x10306f9c0 0x10332e074 0x10336ff94 0x1037117fc 0x103712bd8 0x103720c34 0x19a7893a8 0x19a78439c 0x19a7838a0 0x1a46db328 0x19e874740 0x1014593d4 0x19a60e360)
libc++abi.dylib: terminating with uncaught exception of type NSException