4ian / GDevelop

:video_game: Open-source, cross-platform game engine designed to be used by everyone.
https://gdevelop.io
Other
6.2k stars 713 forks source link

Fix some crashes when conditions with `objectList` are used without any behavior #6529

Closed D8H closed 3 weeks ago

D8H commented 3 weeks ago

I think it's better to include the behavior code instead of checking in the code if they are present as they can't do anything useful without the behaviors anyway.

This is an issue only since the search allow to add instruction from behavior that are not used in the scene.

Beginners may experience this issue because Physics collision condition could be chosen instead of the standard one.