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 #5908

Closed
Nanoyayay opened this issue Nov 15, 2023 · 2 comments
Closed

Crash while using an editor #5908

Nanoyayay opened this issue Nov 15, 2023 · 2 comments
Labels
💥crash Bug that is crashing the software

Comments

@Nanoyayay
Copy link

Describe what you were doing when the crash happened

Taking pictures

GDevelop version

5.3.180-8e668db6ea495f9cc36dcb49910d6fdce9043dfd

Platform info

System Version: Unknown system version (web-app), Arch: Unknown architecture (web-app), User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36, Platform: Win32

Additional error context

TypeError: Cannot read properties of undefined (reading 'destroy')
at n.value (https://editor.gdevelop.io/static/js/5496.8bd264f9.chunk.js:1:1401064)
at https://editor.gdevelop.io/static/js/main.aae1936b.js:2:501337
at hs (https://editor.gdevelop.io/static/js/main.aae1936b.js:2:501378)
at bs (https://editor.gdevelop.io/static/js/main.aae1936b.js:2:503647)
at Fu (https://editor.gdevelop.io/static/js/main.aae1936b.js:2:516823)
at t.unstable_runWithPriority (https://editor.gdevelop.io/static/js/main.aae1936b.js:2:546759)
at Ko (https://editor.gdevelop.io/static/js/main...

Additional component context

in n
in t
in Unknown
in div
in div
in Unknown
in Measure
in Fk
in Jk
in div
in div
in t
in div
in t
in n
in ForwardRef
in div
in l
in n
in n
in t
in Unknown
in kI
in div
in n
in Ga
in div
in RM
in Unknown
in mt
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 Re
in n
in ut
in vt
in t
in Unknown
in Unknown
in v
in It
in t
in r
in n
in u
in l
in n
in Dr...
@ClementPasteau ClementPasteau added the 💥crash Bug that is crashing the software label Nov 16, 2023
@ClementPasteau
Copy link
Collaborator

There's been an attempt to fix part of this issue in d39cfd1

Looks like the InstancesEditor sometimes get unmounted without the elements inside having been initialized (how is this possible?)
I'll add more checks in this unmount to prevent such crashes, but I feel that there's another cause we're not seeing

@ClementPasteau
Copy link
Collaborator

Fix has been introduced and will be released in next version.
If it happens again please re-open an issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💥crash Bug that is crashing the software
Projects
None yet
Development

No branches or pull requests

2 participants