initialization of ScenegraphLayer - Assertion failed #5276
-
Hi, I‘ve got one question that I am trying to load ScenegraphLayer using the object from the cache by LocalForage. But it pops up an error - deck: error during initialization of ScenegraphLayer({id: 'ScenegraphLayer'}) Error: luma.gl: assertion failed. I was using the ScenegraphLayer along with GLTF loader to load content from the glb file. The logic is I want to save the glb file using the loader to cache when the file loads the first time, then I will fetch the object from cache and assign it to the ScenegraphLayer as the value of scenegraph. Here is the gist for my code - https://gist.github.com/sunyonglincanada/6fe79b8035b8c3f045abd4f37d1e0ca0 Can any of you help me out? Thanks in advance!! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You cannot serialize and deserialize typed arrays.
|
Beta Was this translation helpful? Give feedback.
You cannot serialize and deserialize typed arrays.