Skip to content

Extension Editor - Scene properties causing errors #7801

@MathewSchaeffer

Description

@MathewSchaeffer

Is there an existing issue for this?

Describe the bug

When creating a behavior in the extension editor, trying to use a function that uses a scene property causing a javascript error. Adding the behavior to objects on the scene shows the following error in the console on scene load.

Image

And when trying to use a function that references a behavior scene property ( in this case trying to show the value on a TextObject. The follow error is displayed.

Image

I have uploaded a projects with a very stripped down version of the extention I am trying to make using the extension editor.

ScoreExtension.zip

Steps to reproduce

Create a behavior
Create a scene property (and generate a condition and expression)
Apply behavior to an object - causes first error in console
Try to use a function that references the scene property - javascript error

GDevelop platform

Desktop

GDevelop version

5.5.239

Platform info

Windows 11

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions