Console Error unsupported format character

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Pelli

In many of my scenes, Console show this error: unsupported format character
there are a lot of the same errors, and repeated, I tried everything, In web I don´t find anything. I think that is because of a letter or symbol, but I had cheked the names of nodes and are simple names

Which lines of code cause the errors? Are you printing anything using format strings? Usually this error means you’re using a placeholder that doesn’t exist.

njamster | 2020-05-01 14:14

thanks for replying, I don´t print anything , is not a line of code, the error appears when I open some scenes.
For example I am on Player scene, and I open level1 scene, and in output say unsupported format character like 10 times, and if I open the black console it says:

ERROR: unsupported format character
At: core/variant.cpp:3302
ERROR: unsupported format character
At: core/variant.cpp:3302
ERROR: unsupported format character
At: core/variant.cpp:3302
ERROR: unsupported format character
At: core/variant.cpp:3302
ERROR: unsupported format character
At: core/variant.cpp:3302
ERROR: unsupported format character
At: core/variant.cpp:3302
ERROR: unsupported format character
At: core/variant.cpp:3302
ERROR: unsupported format character
At: core/variant.cpp:3302
ERROR: unsupported format character
At: core/variant.cpp:3302
ERROR: unsupported format character
At: core/variant.cpp:3302

At begining I deleted the scene and create a new one and the error dissapear but now it´s too big to delete it

Pelli | 2020-05-01 17:09

I’m having this error whit groups.
When setting the group name already the “unsupported format character” shows
Then when a scene start, for any node within any group will show that error.
Is an annoying bug

Omar13 | 2020-05-01 20:09

Hello!

I am also having the same issue with groups
Every time the function “is_in_group()” is called, the “unsupported format character” line shows in console
It’s really annoying because it fills the console buffer and doesn’t let me debug properly

IDONTKILLCOYOTES | 2020-05-10 23:53

I have the error on the consoles every time i move a sprite in godot 3.3

dxisback369 | 2021-05-03 20:00

:bust_in_silhouette: Reply From: luislodosm

It looks like a bug in Godot 3.2.1. It appears with the following configuration:

  • Area2D in group and emitting signal to itself.

My fix was to split the node in two. One is in the group and the other is emitting the signal.

  • Node2D in group with script
  • Area2D emitting signal to Node2D

It willtake a year to do this to my project, hope the bug fix soon

Pelli | 2020-05-25 19:27