Visual Scripting Tool: Bug in String/SubString

Djelle shared this bug 2 years ago
Reported

If Length is set to what is longer than the String: The game crashes when the node is executed.

Example: String = "012345", StartIndex = 3, Length = 4 will crash. Imo it should return what is can. Here "345".

Example: String = "012345", StartIndex = 6, Length = 2 will crash. Imo it should return an empty string.

Replies (1)

photo
1

Hello, Djelle,

thanks for letting us know about this.

The said behavior was put into our internal system.

Kind Regards

Keen Software House: QA Department

Leave a Comment
 
Attach a file