aws-samples / aws-tools-for-babylonjs-editor

AWS Tools for Babylon.JS Editor is a suite of tools meant to interact with Babylon.JS Editor by utilizing the capabilities of AWS products.
Apache License 2.0
32 stars 10 forks source link

change to deploy the whole project into Amplify #24

Closed eherozhao closed 2 years ago

eherozhao commented 2 years ago

Description of changes:

After adding the script to the Host, the published scene failed to find the animation file saved in the assets folder which was not uploaded into the Amplify Side. Therefore, we change to upload the whole project file currently to bypass this issue. The long-term solution is to fix this issue in the Editor side since the scene/_asset folder missed some assets saved in the assets folder. Issue on the Editor side: https://github.com/BabylonJS/Editor/issues/373

Testing

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

eherozhao commented 2 years ago

Is there an issue filed with the BabylonJS Editor we could link to, in terms of long-term fixes? (Is it an issue with the editor, or is this a side-effect of the way we manually copy assets over into a project instead of using their import tools?)

Sure. Based on the conversation with the maintainer of the Editor, it is an issue in the Editor side and he is working on a solution. I will add the issue link to the description as the long-term solution.