GDevelop
GDevelop copied to clipboard
Crashes
Is there an existing issue for this?
- [X] I have searched the existing issues
Describe the bug
As soon as I launch the app it crashes after loading
Probably a user error, but what do I need to do?
Steps to reproduce
Launch the app
GDevelop platform
Desktop
GDevelop version
latest
Platform info
OS (e.g. Windows, Linux, macOS, Android, iOS)
OS Version (e.g. Windows 10, macOS 10.15)
Browser(For Web) (e.g. Chrome, Firefox, Safari)
Device(For Mobile) (e.g. iPhone 12, Samsung Galaxy S21)
Additional context
No response
Hi @cfrikke, Sorry for the inconvenience and thank you for taking the time to report this crash. If the window is still open after the crash, you should be able to open the developer tools with Ctrl +Shift + i. Go into the console and check for errors (red messages). If you see any, could you copy paste them here?
Error caught by Boundary: TypeError: Cannot read properties of undefined (reading 'forEach') at AssetStoreContext.js:443:37 at Object.ba [as useMemo] (react-dom.production.min.js:162:119) at Object.t.useMemo (react.production.min.js:25:113) at P (AssetStoreContext.js:437:33) at ea (react-dom.production.min.js:153:146) at Ha (react-dom.production.min.js:175:309) at Ss (react-dom.production.min.js:263:406) at Eu (react-dom.production.min.js:246:265) at wu (react-dom.production.min.js:246:194) at gu (react-dom.production.min.js:239:172) in P in d in q in n in t in Ae in n in ot in ht in t in Unknown in Unknown in v in wt in t in r in d in u in l in n in DragDropContext(n) in Tt in c
react-dom.production.min.js:209 TypeError: Cannot read properties of undefined (reading 'forEach') at AssetStoreContext.js:443:37 at Object.ba [as useMemo] (react-dom.production.min.js:162:119) at Object.t.useMemo (react.production.min.js:25:113) at P (AssetStoreContext.js:437:33) at ea (react-dom.production.min.js:153:146) at Ha (react-dom.production.min.js:175:309) at Ss (react-dom.production.min.js:263:406) at Eu (react-dom.production.min.js:246:265) at wu (react-dom.production.min.js:246:194) at gu (react-dom.production.min.js:239:172)
Any updates?
If you go in the Network tab of the developer tools and refresh with Ctrl + R, it should crash again and you should be able to see the network requests the editor does.
You should see a request to the URL: https://resources.gdevelop-app.com/assets-database/assetPacks.json
.
Click on it and go in the tab Preview.
Could you send a screenshot of the content of the tab?
Thanks for the screenshot. When you're at that point, could you click on the first line and send the content of the tab called "Preview"?
Could you send the content of both Headers and Payload tabs, for both lines? Sorry, this is a bit cumbersome to do. We will soon release version 5.2.174. You could try to install it to see if the issue is still there.
And could you send the Response tab content as well? Sorry for all those steps 😅
That's weird you're getting a 302 HTTP response code on this API call. In which country are you located?
United States of America
Message ID: @.***>
Do you still have the issue? Your bug might have been caused by a cache issue from our underlying supplier.
Reopening the issue, let's wait for the next version to confirm the issue is gone.
Hi @cfrikke, Does this issue still happen?