Local asset bundles#142
Open
nearnshaw wants to merge 3 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documents the new option to convert a scene's assets to asset bundles locally during preview (Creator Hub Optimize Assets checkbox /
sdk-commands start --asset-bundles). This runs the same conversion the servers already perform after publishing, so the preview runs smoother and compression issues surface before deploying. It has no effect on the published result.Related PRs: creator-hub#1396, js-sdk-toolchain#1498
Changes
creator/sdk7/getting-started/preview-scene.md— main documentation:.dcl-optimized-assetscache folder (only new or modified assets reconvert; excluded from deployments), and the fallback to raw models if conversion fails.--asset-bundlesflag to the CLI parameters list.creator/scene-editor/get-started/about-editor.md— added the Optimize Assets checkbox to the Scene Editor's preview options list.creator/sdk7/optimizing/performance-optimization.md— noted in "Asset Bundle conversion" that the same conversion can now run locally during preview.creator/sdk7/debugging/troubleshooting.md— under "my 3D models look different once deployed", noted that the conversion can be reproduced locally to debug without deploying.creator/sdk7/getting-started/dev-workflow.md— added a bullet about the option in "Run a local preview".creator/sdk7/getting-started/using-the-cli.md— added the--asset-bundlesflag with a snippet in "Run a preview".