Skip to content

Hot Reload/Update does not work with new Variables #8173

@alexleybourne

Description

@alexleybourne

Is there an existing issue for this?

Describe the bug

Relates to #8087 (comment)

When adding a new variable it will not work properly until you preview the app and then you can update the webviews you are using to see the variable.

Steps to reproduce

  1. Have the web preview on
  2. Add a new variable
  3. Update the web preview/hot reload and the variable value will not load
  4. Do a local preview and then close it and press update to reload your web view
  5. The variable now works

GDevelop platform

Desktop

GDevelop version

5.6.252-285e3f8656cc6702decbf348f6c52ce3b6a634df, core version: 5.6.252-0

Platform info

Details

OS (e.g. Windows, Linux, macOS, Android, iOS)

MacOS

OS Version (e.g. Windows 10, macOS 10.15)

MacOS 26.2

Browser(For Web) (e.g. Chrome, Firefox, Safari)

Chrome

Additional context

Thank you for all of your hard work and this great program

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