I’m developing a custom configurator for a client and I’ve hit an unexpected problem: there are certain combinations of parameters that result in a (repeatable) update failure, and they generate several errors in the console:
WebGL: INVALID_VALUE: bufferData: no data
Uncaught TypeError: Cannot read property ‘BYTES_PER_ELEMENT’ of undefined
ViewerAppSceneManager.js:190 Uncaught (in promise) Error: publishing of subscene failed
LoggingMixin.js:73 ERROR.SceneManager._finishProcess : publishing of subscene failed Error: publishing of subscene failed
LoggingMixin.js:73 ERROR.ViewerAppMessagingPartial.setupDispatching : Error in message callback: publishing of subscene failed Error: publishing of subscene failed
The weird thing is that when editing the same model using ShapeDiver’s platform the same parameters do not generate any problem.
Also, this happens quite often and without any apparent reason - from the point of view of the definition.
Unfortunately I cannot provide a public link as this is currently under development.
How/to whom can I send a private link?
Thank you in advance
We haven’t implemented any error handling strategy, if this can be solved in this way, is there any example code of how this could be done?