4ian / GDevelop

🎮 Open-source, cross-platform 2D/3D/multiplayer game engine designed for everyone.
https://gdevelop.io
Other
10.85k stars 851 forks source link

Crash while using an editor #4975

Closed 15072012 closed 1 year ago

15072012 commented 1 year ago

=> Please write here a short description of when the error occurred and how to reproduce it. You also may have to create an account on GitHub before posting.

When you're ready, click on "Submit new issue". Don't change the rest of the message. Thanks!

Error stack (don't write anything here)

Error: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.
    at vu (https://editor.gdevelop.io/static/js/66.8de7747b.chunk.js:2:362259)
    at pu (https://editor.gdevelop.io/static/js/66.8de7747b.chunk.js:2:361757)
    at ws (https://editor.gdevelop.io/static/js/66.8de7747b.chunk.js:2:375957)
    at t.unstable_runWithPriority (https://editor.gdevelop.io/static/js/66.8de7747b.chunk.js:2:396671)
    at Wi (https://editor.gdevelop.io/static/js/66.8de7747b.chunk.js:2:321153)
    at _s (https://editor.gdevelop.io/static/js/66.8de7747b.chunk.js:2:374034)
    at us (https://editor.gdevelop.io/static/js/66.8de7747b.chunk.js:2:370165)
    at https://editor.gdevelop.io/static/js/66.8de7747b.chunk.js:2:321444
    at t.unstable_runWithPriority (https://editor.gdevelop.io/static/js/66.8de7747b.chunk.js:2:396671)
    at Wi (https://editor.gdevelop.io/static/js/66.8de7747b.chunk.js:2:321153)

Component stack (don't write anything here)


    in strong
    in p
    in p
    in v
    in t
    in span
    in b
    in p
    in ForwardRef
    in ForwardRef
    in oe
    in div
    in i
    in div
    in ForwardRef
    in ForwardRef
    in t
    in ForwardRef
    in div
    in ForwardRef
    in ForwardRef
    in se
    in t
    in ue
    in t
    in ForwardRef
    in div
    in Unknown
    in Unknown
    in jt
    in j
    in d
    in f
    in h
    in h
    in w
    in c
    in Y
    in ct
    in n
    in t
    in Re
    in n
    in Unknown
    in t
    in Unknown
    in Unknown
    in m
    in t
    in u
    in t
    in l
    in c
    in n
    in DragDropContext(n)
    in Unknown
    in c

Other details

Bouh commented 1 year ago

There is only one occurence of insertBefore in the codebase., it seem this one: https://github.com/4ian/GDevelop/blob/master/Extensions/Leaderboards/leaderboardstools.ts#L609