Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash while using an editor #5974

Closed
PeterStrudwick opened this issue Nov 28, 2023 · 1 comment · Fixed by #5975
Closed

Crash while using an editor #5974

PeterStrudwick opened this issue Nov 28, 2023 · 1 comment · Fixed by #5975

Comments

@PeterStrudwick
Copy link

Describe what you were doing when the crash happened

No response

GDevelop version

5.3.181-ec1ebcbf5b57a4623f3ac4eb39a06a26398dc4bd

Platform info

System Version: 13.1.0, Arch: arm64, User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) GDevelop5/5.3.181 Chrome/100.0.4896.143 Electron/18.2.2 Safari/537.36, Platform: darwin

Additional error context

uniqueErrorId: 7e598808-d6ab-4d77-9e6a-f23082db4786

TypeError: i.filter is not a function
at DP (file:///Applications/GDevelop%205.app/Contents/Resources/app.asar/www/static/js/250.6dc43e30.chunk.js:1:1613518)
at ea (file:///Applications/GDevelop%205.app/Contents/Resources/app.asar/www/static/js/main.dc644a89.js:2:475626)
at Ss (file:///Applications/GDevelop%205.app/Contents/Resources/app.asar/www/static/js/main.dc644a89.js:2:521851)
at Eu (file:///Applications/GDevelop%205.app/Contents/Resources/app.asar/www/static/js/main.dc644a89.js:2:514598)
at wu (file:///Applications/GDevelop%205.app/Contents/Resources/app.asar/www/sta...

Additional component context

in DP
in div
in div
in DI
in t
in ForwardRef
in ForwardRef
in t
in Unknown
in dM
in div
in n
in Ga
in div
in jO
in Unknown
in Ke
in f
in u
in v
in m
in j
in h
in h
in Z
in d
in X
in n
in t
in ge
in n
in We
in et
in t
in Unknown
in Unknown
in v
in pt
in t
in r
in n
in u
in l
in n
in DragDropContext(n)
in ht
in c...
@ClementPasteau
Copy link
Collaborator

Crash is coming from the filtering on announcements: https://github.com/4ian/GDevelop/blob/master/newIDE/app/src/AnnouncementsFeed/index.js#L52

Looks like the object returned is not an array (network error? proxy?)

Will add a check on the response format and throw if not what's expected

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 a pull request may close this issue.

2 participants