irllabs / archive_socialvr-browser

1 stars 0 forks source link

Multimedia Assets Missing when Experiences are Combined in YAML #119

Closed sgangwan closed 6 years ago

sgangwan commented 6 years ago

In my attempt to compile projects through YAML, the multimedia assets (360 photos, 2D photos, audio) are missing.

username: wtworldhistory pw: wtworldhistory

Here's the result for the combined experience:

screen shot 2018-04-29 at 10 40 22 pm

You can find the YAML file and zip file here: wtworldhistory

apuhub commented 6 years ago

These projects work in preview mode, but since we are trying to combine projects using the .zip and yaml file, we need the .zip to download correctly.

On Sun, Apr 29, 2018, 7:56 PM sgangwan notifications@github.com wrote:

Assigned #119 https://github.com/cmuartfab/socialvr-browser/issues/119 to @apuhub https://github.com/apuhub.

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/cmuartfab/socialvr-browser/issues/119#event-1600820790, or mute the thread https://github.com/notifications/unsubscribe-auth/ATjiFT5XetrrMwFvVkTQVijS4ySqiDQoks5ttn1XgaJpZM4TsE5u .

apuhub commented 6 years ago

@emilt27 can you look into this?

emilt27 commented 6 years ago

@apuhub it seems, this zip file is incorrect. The UIDs in yaml file do not correspond to folder names of resources. Therefore, it can't find the resources (images, sounds)... Researching...

emilt27 commented 6 years ago

screen shot 2018-04-30 at 12 50 52 pm

It seems, the webpack minimazed the sources incorrectly. Take a look at 979 line, there should be the following:

var t = g.dump(this.buildProjectJson());

I've rewritten and optimized this part of code. It works for me but we need to check it on the staging also.