GDevelop icon indicating copy to clipboard operation
GDevelop copied to clipboard

Crashes

Open cfrikke opened this issue 1 year ago • 17 comments

Is there an existing issue for this?

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

cfrikke avatar Sep 15 '23 12:09 cfrikke

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?

AlexandreSi avatar Sep 18 '23 07:09 AlexandreSi

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)

cfrikke avatar Sep 18 '23 11:09 cfrikke

Any updates?

cfrikke avatar Sep 19 '23 12:09 cfrikke

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?

AlexandreSi avatar Sep 20 '23 16:09 AlexandreSi

image

cfrikke avatar Sep 21 '23 12:09 cfrikke

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"?

AlexandreSi avatar Oct 03 '23 13:10 AlexandreSi

image

cfrikke avatar Oct 04 '23 11:10 cfrikke

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.

AlexandreSi avatar Oct 05 '23 09:10 AlexandreSi

image image

cfrikke avatar Oct 05 '23 11:10 cfrikke

image image

cfrikke avatar Oct 05 '23 12:10 cfrikke

And could you send the Response tab content as well? Sorry for all those steps 😅

AlexandreSi avatar Oct 09 '23 07:10 AlexandreSi

image image

cfrikke avatar Oct 09 '23 12:10 cfrikke

That's weird you're getting a 302 HTTP response code on this API call. In which country are you located?

AlexandreSi avatar Oct 11 '23 09:10 AlexandreSi

United States of America

Message ID: @.***>

cfrikke avatar Oct 11 '23 11:10 cfrikke

Do you still have the issue? Your bug might have been caused by a cache issue from our underlying supplier.

AlexandreSi avatar Oct 16 '23 14:10 AlexandreSi

Reopening the issue, let's wait for the next version to confirm the issue is gone.

AlexandreSi avatar Oct 17 '23 14:10 AlexandreSi

Hi @cfrikke, Does this issue still happen?

AlexandreSi avatar Nov 16 '23 10:11 AlexandreSi