Timeline for Parameter "current->parent" is null, don't see why
Current License: CC BY-SA 4.0
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 31, 2023 at 10:42 | answer | added | Michael Macha | timeline score: 5 | |
| Oct 31, 2023 at 10:27 | comment | added | Michael Macha | I'm beginning to suspect that this may be about mangled bbcode instead, and I've been suspecting the wrong tree. | |
| Oct 31, 2023 at 9:49 | comment | added | Michael Macha | @Mangata Honestly it's amazing that I missed it! Again, thank you. | |
| Oct 31, 2023 at 9:48 | comment | added | Michael Macha | @Mangata Ah, that's interesting, as of yet I've been completely overlooking the rich text thing. I know that Level.01.tscn can be loaded independently, and I don't actually have any rich text labels in my title; but I do have one in my level for the end scene. I'm going to look over that closely. | |
| Oct 31, 2023 at 5:19 | comment | added | Mangata | I mean, According to the error message, the error occurred in rich_text_label.pop(), maybe it's because you have operated a RichTextLabel incorrectly elsewhere. Now that the error is triggered by the change_scene_to_packed line, can res://scene/Level.01.tscn be opened independently in the editor? | |
| Oct 31, 2023 at 3:55 | comment | added | Michael Macha | @Mangata certainly! I abbreviated my code by cutting out two commented lines; the error is triggered by the change_scene_to_packed line, which is usually line six. I can't be sure which part. This script is on a root node, which may have something to do with it; but I don't know why that's necessary for a scene change. It specifically happens after I press jump, so it isn't likely the preload as that would run immediately. It should happen just as readily in other projects. Tomorrow's Halloween, but when I've got time I may try and isolate it. | |
| Oct 31, 2023 at 1:53 | comment | added | Mangata | The sample code you gave is valid, the problem occurs elsewhere. It looks like the error occurs on line 6 in Title Screen.gd. Can you provide more information about the code? | |
| Oct 30, 2023 at 19:49 | history | edited | DMGregory♦ | CC BY-SA 4.0 | Don't repeat tags in title |
| Oct 30, 2023 at 17:07 | history | asked | Michael Macha | CC BY-SA 4.0 |