Hi.
I'm trying to use marzipano in my project.
I have problem with running demo 'equirect'.
There's error message about 'loadAsset' with marzipano.js.
First, I thought it's because I made some changes in index.html and index.js.
But the same error appears even when I ran the demo file with no change.
Demo with no change, there is an error with viewer.createScene.
After making some changes, there is an error with scene.switchTo.
I think 'pinFirstLevel: true' is the problem because there are several changes I made but erasing 'pinFirstLevel: true' was the only change I made with createScene.
Now I can't figure out what I can do with switchTo.
What can I do to solve this problem?
Here are full error messages I got.
Uncaught TypeError: Cannot read property 'loadAsset' of undefined
at new w (marzipano.js:16:101092)
at b._loadTile (marzipano.js:16:104638)
at b.pin (marzipano.js:16:105095)
at s.pinLevel (marzipano.js:16:94378)
at s.pinFirstLevel (marzipano.js:16:94593)
at u.createLayer (marzipano.js:16:97943)
at g.createScene (marzipano.js:16:110626)
at index.js
Uncaught TypeError: Cannot read property 'loadAsset' of undefined
at new w (marzipano.js:16:101092)
at b._loadTile (marzipano.js:16:104638)
at b.pin (marzipano.js:16:105095)
at s.pinLevel (marzipano.js:16:94378)
at s.pinFirstLevel (marzipano.js:16:94593)
at g._addLayerToStage (marzipano.js:16:111390)
at g.switchScene (marzipano.js:16:114229)
at u.switchTo (marzipano.js:16:98352)
at index.js:34:7
Hi. I'm trying to use marzipano in my project. I have problem with running demo 'equirect'.
There's error message about 'loadAsset' with marzipano.js. First, I thought it's because I made some changes in index.html and index.js. But the same error appears even when I ran the demo file with no change. Demo with no change, there is an error with viewer.createScene. After making some changes, there is an error with scene.switchTo. I think 'pinFirstLevel: true' is the problem because there are several changes I made but erasing 'pinFirstLevel: true' was the only change I made with createScene. Now I can't figure out what I can do with switchTo. What can I do to solve this problem?
Here are full error messages I got.
Uncaught TypeError: Cannot read property 'loadAsset' of undefined at new w (marzipano.js:16:101092) at b._loadTile (marzipano.js:16:104638) at b.pin (marzipano.js:16:105095) at s.pinLevel (marzipano.js:16:94378) at s.pinFirstLevel (marzipano.js:16:94593) at u.createLayer (marzipano.js:16:97943) at g.createScene (marzipano.js:16:110626) at index.js
Uncaught TypeError: Cannot read property 'loadAsset' of undefined at new w (marzipano.js:16:101092) at b._loadTile (marzipano.js:16:104638) at b.pin (marzipano.js:16:105095) at s.pinLevel (marzipano.js:16:94378) at s.pinFirstLevel (marzipano.js:16:94593) at g._addLayerToStage (marzipano.js:16:111390) at g.switchScene (marzipano.js:16:114229) at u.switchTo (marzipano.js:16:98352) at index.js:34:7
Thank you.