Hey everyone! I’m having an issue with my inventory at the moment. I downloaded an inventory and crafting system from youtube and I started making changes to it to fit my project, however while in the midst of making changes, I’ve run into an error I’ve never seen before. When I open my inventory, it just closes the whole game and gives the error. I did some testing to see where it comes from and I’ve narrowed it down to an add child node. I’ve provided some screenshots below to give you a better understanding of the situation.
This is the add child node that I was talking about earlier in the post. When I remove the connection between change item and add child, I don’t get any errors or problems when opening the inventory, however I need the add child node for my inventory to fully work.
Here is the change item custom event.
Lastly, here is the set use that the error was referencing. I also put a very unnecessary red arrow so you won’t miss it :). Does anyone have any ideas as to what could be causing this error? I’d appreciate any help!
I’m not quite sure what is creating the infinite loop. As I said in my post, when I remove the connection between change name and add child, I don’t get the error anymore. However, the error is telling me it comes from a different place.
Two things… where does that False value go? Also…shoot, red box and line…but whatever… I want you to do this for me. I want you to CLICK on that Bool and hit **F9 **. Then I want you to INTENTIONALLY try to cause that loop. Should happen the first time you do whatever anyway. HIT F10 when you go back into editor and follow the execution around and around until you figure it out.