Skip to content

fix: video textures in unity-explorer on macOS#1363

Open
AnsisMalins wants to merge 1 commit intomainfrom
fix/range-requests
Open

fix: video textures in unity-explorer on macOS#1363
AnsisMalins wants to merge 1 commit intomainfrom
fix/range-requests

Conversation

@AnsisMalins
Copy link
Copy Markdown

@AnsisMalins AnsisMalins commented Mar 27, 2026

The way unity-explorer implements video textures depends on quirks of QuickTime when on macOS. In particular, the server must send the correct Content-Type and must support range requests.

One concrete case this fixes is the game arena. When in local scene development mode, the megatron and all the animated banners are black.

Without this change:
image

With this change:
image

Also see

@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying js-sdk-toolchain with  Cloudflare Pages  Cloudflare Pages

Latest commit: 1c1b975
Status: ✅  Deploy successful!
Preview URL: https://be6fe02f.js-sdk-toolchain.pages.dev
Branch Preview URL: https://fix-range-requests.js-sdk-toolchain.pages.dev

View logs

@github-actions
Copy link
Copy Markdown
Contributor

Test this pull request

  • The @dcl/sdk package can be tested in scenes by running

    npm install "https://sdk-team-cdn.decentraland.org/@dcl/js-sdk-toolchain/branch/fix/range-requests/dcl-sdk-7.22.3-23642397701.commit-8379bb0.tgz"
  • The @dcl/js-runtime package can be tested in scenes by running

    npm install "https://sdk-team-cdn.decentraland.org/@dcl/js-sdk-toolchain/branch/fix/range-requests/@dcl/js-runtime/dcl-js-runtime-7.22.3-23642397701.commit-8379bb0.tgz"
  • To test with npx init

    export SDK_COMMANDS="https://sdk-team-cdn.decentraland.org/@dcl/js-sdk-toolchain/branch/fix/range-requests/dcl-sdk-commands-7.22.3-23642397701.commit-8379bb0.tgz"
    npx $SDK_COMMANDS init
  • The /changerealm command to test test in-world

    /changerealm https://sdk-team-cdn.decentraland.org/ipfs/fix/range-requests-e2e
    
  • You can preview this build entering:
    https://playground.decentraland.org/?sdk-branch=fix/range-requests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant