Hey guys, I'm having a problem that I can't understand, I have a custom node called Entity that inherits
from Node2D Called Entity, at Entity.hpp I have an integer variable named entityID which is supposed
to store the ID of each entity generated from a for loop, like 0, 1, 2, 3, 4 and 5, and then print each id
at Root::print() in Root.cpp, the problem is, if that variable is the first one declared at the top of file,
everything works fine, if I put Vector2 VecVar variable before it, the game crashes, what am I doing wrong?
Please help. code is below.
Root.hpp https://pastebin.com/etJAzSu6
Root.cpp https://pastebin.com/qbzMqr7H
Entity.hpp https://pastebin.com/kCAjMs2X
Entity.cpp https://pastebin.com/SDfH71L5
GodotLibrary.cpp https://pastebin.com/CkwAp0PE