What does the error "scene/gui/text_edit.cpp:5661 - Index p_line = -1 is out of bounds (text.size() = 66)." mean?

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

I’m getting this error scene/gui/text_edit.cpp:5661 - Index p_line = -1 is out of bounds (text.size() = 66)., but I have no idea which object it refers to since I have multiple UI objects (I guess one UI-object is the cause).

Does anyone know what the error means or how I can debug this?

I’m running mono Godot on windows with C# scripts.

:bust_in_silhouette: Reply From: jonbonazza

TextEdit nodes support multiple lines. I’m not sure what your project is trying to do, but whatever that is, it’s trying to access of line of the TextEdit that does not exist. Without example code and such it is impossible to provide any more help than that.