Closed LeeWannacott closed 1 month ago
I was able to reproduce this in a fresh project, so looks like its not related to anything in my project. I made a fresh scene with a characterbody2d and added ctrlInventoryGrid -> inventory -> gridConstraint ; I also added ctrlItemSlot -> ItemSlot and then I went project
-> reload current project
in Godots editor and it crashes. I'm on Godot v4.3.
Only shows these nodes after crashing:
If the ctrlInventoryGrid isn't assigned an inventory it still crashes however you can click on gloot nodes after the crash, if you have assigned an inventory it will crash if clicking on it, same with the ctrlItemSlot. I didn't assign any protoset, I imagine it doesn't make a difference.
I managed to confirm this one 😬 Looking into it...
adcfcbf987e98627ba24431b7a723ef3cffbe56d should fix this. Unfortunately it introduces some glitches when duplicating GLoot nodes in the editor, but I think it's better to have that than the editor crash.
It's loading my CtrlInventoryGrid as type Control and hiding everything it contains and if I click on the node in the tree, or save the scene godot segfaults (I have this issue with CtrlItemSlot as well); signal 11 is trying to access something in memory that doesn't exist I think?.
I tried deleting all my nodes and re-adding them, but it don't work.
If I change the nodes type to anything that is not Control it shows up and its children although it shows missingnode. Is its type supposed to be control or CtrlInventoryGrid?
Godot crash message: