One task I need to accomplish is parsing an array that was created in a web worker back to the main thread. This particular array contains a large number of THREE.Mesh objects. However, when attempting to stringify this array using the following code:
self.postMessage(JSON.stringify(mesh));
An error occurs: three.min.js:182 Uncaught TypeError: Cannot read property '971E7ACA-8223-4A5C-9F2F-E7966B58265F' of undefined.
I am seeking advice on how to effectively handle this issue with mesh objects?