GDevelop icon indicating copy to clipboard operation
GDevelop copied to clipboard

Error: "You must enter a text (between quotes) or a valid expression call." in: "" (string)

Open JIoffe opened this issue 5 months ago • 3 comments

Is there an existing issue for this?

Describe the bug

When viewing the developer console while previewing, there is heavily spam in our project of the following: Error: "You must enter a text (between quotes) or a valid expression call." in: "" (string)

Which links to: libGD.js?cache-buster=5.6.272-7df3a3b34337bd13d50337ef5ae0029a5c689f08:9 Error: "You must enter a text (between quotes)

However, this seems to be the function for writing to the output stream and masks the source of the error. the offending location is also logged as blank. This seems like a bug, as there should be some clue where the incorrect parameters are set.

We have a large project and this is making it very difficult for us to debug and optimize our game.

Steps to reproduce

  1. Make sure the "developer tools" is active and showing the JS console
  2. Click "preview"
  3. Observe the included message scenes are loaded.

GDevelop platform

Desktop

GDevelop version

5.6.272

Platform info

MacOS, Tahoe

Additional context

No response

JIoffe avatar Jun 24 '26 16:06 JIoffe

This is probably an issue in your game events, but not a bug :)

4ian avatar Jun 24 '26 16:06 4ian

Thanks for the response! Could the output be more descriptive to help with debugging? Do you have any recommendations?

JIoffe avatar Jun 24 '26 16:06 JIoffe

Can you try to see if there is a log when you do Ctrl/Cmd+P to open the command palette and then choose this option?

Image

4ian avatar Jun 25 '26 10:06 4ian