### Godot version

4.0.2

### System information

Windows 10

### Issue description

EDIT: this was fixed by removing the offending files listed with the MRP and then dragging them back in from my desktop after opening the project~

I was developing my game then suddenly this started happening. I can no longer playtest my game.
I am not 100% sure what caused this but I believe at the time I was making a new inherited scene, saved it, then moved some scenes in the FileSystem tab?

![image](https://user-images.githubusercontent.com/75141902/235264827-62419c7d-963b-4002-9452-a6493a9bfe25.png)


### Steps to reproduce

No idea aaa- x-x

### Minimal reproduction project

Since I have no idea what caused it here's my early project :'D
https://drive.google.com/file/d/14JFZ420AelUNjBIth78msHY29rNjB55_/view?usp=share_link

I was working on these when the error occurred:
- Slot_0.tcsn
- Slot_Clickable.tscn
- Slot_Orphan.tscn
- Slot_Orphan.gd

String result;
	int from = 0;
	int buffer_start = 0;
	const int len = line.length();
	bool process = true;
	while (process) {
		switch (r_state) {
			case DOC_LINE_NORMAL: {
				int lb_pos = line.find_char('[', from);
				if (lb_pos < 0) {
					process = false;
					break;
				}
				int rb_pos = line.find_char(']', lb_pos + 1);
				if (rb_pos < 0) {
					process = false;
					break;
				}
				from = rb_pos + 1;
				String tag = line.substr(lb_pos + 1, rb_pos - lb_pos - 1);
				if (tag == "code") {
					r_state = DOC_LINE_IN_CODE;
				} else if (tag == "codeblock") {
					if (lb_pos == 0) {
						line_join = "\n";
					} else {
						result += line.substr(buffer_start, lb_pos - buffer_start) + '\n';
					}
					result += "[codeblock]";
					if (from < len) {