I have just upgraded the SDK to the latest version 9.1 (Javascript iOS) and I am having an issue with the Architect world start method causing an assertion.
The architect world is created and can be used correctly for image recognition the world is stopped in the viewDidDisappear method
When the user returns to this screen in the viewWillAppear method we start the architechtView again.
if !architectView.isRunning {
architectView.start({ config in
config.captureDevicePosition = AVCaptureDevice.Position.back
}) { (isRunning, error) in
if !isRunning {
print("WTArchitectView could not be started. Reason: \(error.localizedDescription)")
}
}
}
Sometimes (Every 1 in 3) times when this start method is called the following assertion is thrown
*** Assertion failure in -[WTOpenGLESRenderTarget createSharedContextWithId:], /Users/emperor/Development/Tools/Jenkins/Master/Instance/workspace/builder/repositories/apple_core_services/src/Rendering/Targets/WTOpenGLESRenderTarget.mm:63
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: _context'
I am just wondering if this is a known issue or if anybody can help with the above
Chris Sherlock
Hi,
I have just upgraded the SDK to the latest version 9.1 (Javascript iOS) and I am having an issue with the Architect world start method causing an assertion.
The architect world is created and can be used correctly for image recognition the world is stopped in the viewDidDisappear method
When the user returns to this screen in the viewWillAppear method we start the architechtView again.
Sometimes (Every 1 in 3) times when this start method is called the following assertion is thrown
I am just wondering if this is a known issue or if anybody can help with the above
Thanks