0 votes

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.

in Engine by (18 points)

1 Answer

–1 vote

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.

by (102 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.