ERROR: wp index out of bounds

Hey there, I’m facing at a strange behaviour: I connect my Pixracer through USB to the PC, I open QGC and this error continuously occurs: “ERROR: wp index out of bounds”.

I have the Pixracer only, no other components. In SITL (gazebo) this message is not present, the simulation perfectly works.

Do you have any idea? I understood it is in mavlink_mission.cpp the answer, but I’m stuck.

Thank you