I am working in Godot 3.1 alpha 4, downloaded from here.
I have a breakable box which spawns a coin when the player attacks it.
The breakable box is an
Area2D and the coin is a
KinematicBody2D. When my player attacks, he generates an attack box which is also an
Area2D. This attack box calls a
destroy() method on the breakable box during emission of its
on_area_entered signal. The
destroy() method in turn calls a function from a singleton which spawns a coin.
func create_coin(pos, vec, speed):
var projectile = coin_scene.instance()
projectile.init(pos, vec, speed)
Everything seems to work fine in-game, but I see the following errors generated whenever a coin is spawned.
The traces indicate that the problem is rooted in the
These errors were not present in Godot 3.0.6, before I ported over to Godot 3.1 alpha 4.
What do these errors mean and how can I avoid them?
Here are some of the C Sources and Stack Traces, in case they help.