4ian / GDevelop

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

Behavior properties disapear when required behavior is named Behavior #3031

Open arthuro555 opened 2 years ago

arthuro555 commented 2 years ago

Describe the bug

When adding to a custom behavior a required behavior and giving the property the name Behavior, the other properties from the behavior are not visible in the event sheet anymore.

To Reproduce

npsk09jIIE

Other details

4ian commented 2 years ago

Good catch, we should ideally prevent to use existing parameter names - at least we can hardcode that names like Object and Behavior are not allowed.