question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

File picking is broken in sandbox

See original GitHub issue

The sandbox available at https://www.babylonjs.com/sandbox doesn’t work with GLB files correctly anymore:

  • Dragging a file onto the window now results in a download prompt for that file, instead of the file being loaded in the viewer
  • Pressing the “Open scene” button in the bottom right and selecting a file results in the following JS error:
Uncaught TypeError: Cannot read property 'loadFiles' of undefined
    at Object.onFilesPicked (babylon.sandbox.js:16)
    at t.onFilePicked (babylon.sandbox.js:16)
    at onChange (babylon.sandbox.js:16)
    at Object.l (babylon.sandbox.js:37)
    at p (babylon.sandbox.js:37)
    at babylon.sandbox.js:37
    at v (babylon.sandbox.js:37)
    at at (babylon.sandbox.js:37)
    at ot (babylon.sandbox.js:37)
    at lt (babylon.sandbox.js:37)

This happens on stable Chrome on Windows 10.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
zeuxcommented, Feb 2, 2021

After restarting Chrome, clearing the cache, restarting Chrome again, the bug doesn’t reproduce anymore in Chrome either… ¯\(ツ)/¯ Must be some edge case in cache handling.

0reactions
deltakoshcommented, Feb 2, 2021

lol no worries! Web 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

File upload is broken · Issue #3905 - GitHub
bug report Description of the problem Cannot upload any file. Storage is clean, no files exist. How has this issue affected you?
Read more >
App Sandbox: document-scoped bookmark not resolving; not ...
I'm sandboxing my app, and trying to allow for import/export of multiple files, using an XML ...
Read more >
How to use Apollo Sandbox on your localhost
Two years ago we set out to build Apollo Explorer – the GraphQL IDE we felt was missing from the GraphQL community.
Read more >
19 Customizing the Interface - Oracle Help Center
Conflicts within a sandbox can arise when multiple users are customizing an application by using the same sandboxes at the same time, because...
Read more >
4 Reasons Why Your Source Maps are Broken - Sentry Blog
If it is a relative URL, it is relative to the path location of the bundled JavaScript file (e.g., script.min.js ). Most source...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found