-
Notifications
You must be signed in to change notification settings - Fork 4k
Open
Open
Copy link
Description
Expected Behavior
Any given project should either load correctly or should display a Scratch error messages. Repeated attempts to load the same project should be consistent.
Actual Behavior
If a project has many assets (>2000) it can cause bad behavior. For example:
- the project might fail to load with a Scratch bluescreen on the first attempt, but succeed on a later attempt (once some of the assets are cached)
- This has been observed on the website when some assets fail to load with
net::ERR_INSUFFICIENT_RESOURCESin the network tab.
- This has been observed on the website when some assets fail to load with
- the project might crash Chrome / Chromium's rendering process
- This has been observed in the desktop app. From a user perspective, the whole editor is replaced by a blank white window.
See also FreshDesk ticket 323025, especially the "Technical Issue Link" attached to that ticket.
Steps to Reproduce
- Find or create a project with >2000 assets
- The example I have on hand has 2114 assets. It's possible the threshold is much lower; I haven't tested.
- Save the project on the website, or to an SB3 file
- Try to load the project
Operating System and Browser
White screen: Scratch desktop app on Windows
Other errors: Chrome / Chromium, any OS