# inventory system Bug for when I click the item in my inventory it doesn't get brought up anymore after clicking it

**URL:** <https://forums.unrealengine.com/t/inventory-system-bug-for-when-i-click-the-item-in-my-inventory-it-doesnt-get-brought-up-anymore-after-clicking-it/2627424>\
**Category:** Blueprint\
**Tags:** bug, unreal-engine, Blueprint\
**Created:** [August 2, 2025, 12:43pm UTC](https://forums.unrealengine.com/t/inventory-system-bug-for-when-i-click-the-item-in-my-inventory-it-doesnt-get-brought-up-anymore-after-clicking-it/2627424 "2025-08-02T12:43:20Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Twan\_so-kl](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Twan\_so-kl](https://forums.unrealengine.com/u/Twan_so-kl)\
**Post date:** [August 2, 2025, 12:43pm UTC](https://forums.unrealengine.com/t/inventory-system-bug-for-when-i-click-the-item-in-my-inventory-it-doesnt-get-brought-up-anymore-after-clicking-it/2627424/1 "2025-08-02T12:43:20Z")

</div>

Hello, I really need some help with a bug that’s in my inventory system, usually when I have the item in my inventory I can click on it and bring it up, but now I can’t do that again here’s the error:

Blueprint Runtime Error: “Attempted to access BP\_BasementKey\_C\_0 via property Item, but BP\_BasementKey\_C\_0 is not valid (pending kill or garbage)”. Node: Open Item from Inventory Graph: EventGraph Function: Execute Ubergraph WB Inventory Slots Blueprint: WB\_InventorySlots

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [August 2, 2025, 1:37pm UTC](https://forums.unrealengine.com/t/inventory-system-bug-for-when-i-click-the-item-in-my-inventory-it-doesnt-get-brought-up-anymore-after-clicking-it/2627424/2 "2025-08-02T13:37:00Z")

</div>

I assume this is when you try and inspect the basement key? 😃

Somehow, you’re destroying it just before you try and look at it.

---

<div class="post-metadata">

**Author:** ![Twan\_so-kl](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Twan\_so-kl](https://forums.unrealengine.com/u/Twan_so-kl)\
**Post date:** [August 2, 2025, 4:43pm UTC](https://forums.unrealengine.com/t/inventory-system-bug-for-when-i-click-the-item-in-my-inventory-it-doesnt-get-brought-up-anymore-after-clicking-it/2627424/3 "2025-08-02T16:43:21Z")

</div>

Yes i tried to inspect it from my inventory, but i dont see how its being destroyed. I only get the error when i click on the open button from my wb\_inventorySlot that is connected to a open from inventory custom event, would you like a screenshot of it?

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [August 2, 2025, 5:46pm UTC](https://forums.unrealengine.com/t/inventory-system-bug-for-when-i-click-the-item-in-my-inventory-it-doesnt-get-brought-up-anymore-after-clicking-it/2627424/4 "2025-08-02T17:46:26Z")

</div>

You can try.

It probably won’t help, as these inventory things are usually a spaghetti junction 😅, but somehow, that seems to be happening.

Do you have ‘destroy component’ in your code anywhere, or destroy actor?

---

<div class="post-metadata">

**Author:** ![Twan\_so-kl](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Twan\_so-kl](https://forums.unrealengine.com/u/Twan_so-kl)\
**Post date:** [August 2, 2025, 9:36pm UTC](https://forums.unrealengine.com/t/inventory-system-bug-for-when-i-click-the-item-in-my-inventory-it-doesnt-get-brought-up-anymore-after-clicking-it/2627424/5 "2025-08-02T21:36:47Z")

</div>

Actually, I was uncertain at first if anyone could help me on this, but I have hope  
Yes, I have a destroy component on the bp\_inspector base which is the parent of the key

 ![Screensho1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/b/7/fb7436f76e396ed064b63874f54b014ec6da93ab.png)  
 ![Screenshot2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/4/1/541cb9fdb1e1356f80d0bbec08589945e49f13c2.png)  
 ![Screenshot3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/4/f/24f373024a5a087470819b4c2ac4d458b0faa2b9.png)

---

<div class="post-metadata">

**Author:** ![Twan\_so-kl](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Twan\_so-kl](https://forums.unrealengine.com/u/Twan_so-kl)\
**Post date:** [August 2, 2025, 10:48pm UTC](https://forums.unrealengine.com/t/inventory-system-bug-for-when-i-click-the-item-in-my-inventory-it-doesnt-get-brought-up-anymore-after-clicking-it/2627424/6 "2025-08-02T22:48:15Z")

</div>

I found out two things, first is that anytime I add the destroy component to one of the children it gives me that error, another thing is that the same component I changed its name a while back but now I’m trying to change it to its previous name its telling me that its already there even though it isn’t so my thought is the reference got messed up, I even tried to fix redirectors but no good any ideas?

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [August 3, 2025, 7:45am UTC](https://forums.unrealengine.com/t/inventory-system-bug-for-when-i-click-the-item-in-my-inventory-it-doesnt-get-brought-up-anymore-after-clicking-it/2627424/7 "2025-08-03T07:45:10Z")

</div>

There are two filters for redirectors, you might try both

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/b/6/7b6c23e1b0e9be294050f2da22b55edcb8173067.png)

If you mean component name in the blueprint, then compile, save and restart the editor, and try again.

I can’t see a glaring error is this code, although I would just trace your logic very slowly. Is it doing what you think it is?

---

<div class="post-metadata">

**Author:** ![Twan\_so-kl](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Twan\_so-kl](https://forums.unrealengine.com/u/Twan_so-kl)\
**Post date:** [August 3, 2025, 1:16pm UTC](https://forums.unrealengine.com/t/inventory-system-bug-for-when-i-click-the-item-in-my-inventory-it-doesnt-get-brought-up-anymore-after-clicking-it/2627424/9 "2025-08-03T13:16:10Z")

</div>

yeah, it’s funny I don’t see an error for that, but the place where the error pops up in the first screenshot I sent you I tried using a is valid all it did was stop the error from showing. Question did you see anything in the codes that aren’t supposed to be there?

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [August 3, 2025, 1:18pm UTC](https://forums.unrealengine.com/t/inventory-system-bug-for-when-i-click-the-item-in-my-inventory-it-doesnt-get-brought-up-anymore-after-clicking-it/2627424/10 "2025-08-03T13:18:02Z")

</div>

> [@Twan\_so-kl](#):
>
> anything in the codes

Nope, its just what happens when you try and access something that is in the middle of being destroyed ( or has been ).

---

<div class="post-metadata">

**Author:** ![Twan\_so-kl](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Twan\_so-kl](https://forums.unrealengine.com/u/Twan_so-kl)\
**Post date:** [August 3, 2025, 1:21pm UTC](https://forums.unrealengine.com/t/inventory-system-bug-for-when-i-click-the-item-in-my-inventory-it-doesnt-get-brought-up-anymore-after-clicking-it/2627424/11 "2025-08-03T13:21:50Z")

</div>

I see I’m not fully a hundred on this, but I think it’s being destroyed while I’m going to inspect it. These are the three places in the event graph where the parent blueprint is being destroyed

 ![Screensho1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/2/9/f29c296e47f50443c1c74633f99da39891fe2af3.png)  
 ![Screenshot2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/7/f/f7fd39144ec24165577aea671ca1c6048732b5d5.png)  
 ![Screenshot3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/b/7/db7ae899465b8b3733f347c62fa01780539a5c86.png)

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [August 3, 2025, 1:34pm UTC](https://forums.unrealengine.com/t/inventory-system-bug-for-when-i-click-the-item-in-my-inventory-it-doesnt-get-brought-up-anymore-after-clicking-it/2627424/12 "2025-08-03T13:34:52Z")

</div>

You can just put a print string in there, then you know what’s calling it 🙂

---

<div class="post-metadata">

**Author:** ![Twan\_so-kl](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Twan\_so-kl](https://forums.unrealengine.com/u/Twan_so-kl)\
**Post date:** [August 3, 2025, 1:37pm UTC](https://forums.unrealengine.com/t/inventory-system-bug-for-when-i-click-the-item-in-my-inventory-it-doesnt-get-brought-up-anymore-after-clicking-it/2627424/13 "2025-08-03T13:37:37Z")

</div>

Well, I believe and get what you’re saying, and I’ve been testing somethings, but I see that when remove the destroy actor node in the destroy component everything works fine but the issue with that is the item no longer gets saved when I save and load my game it just comes back into the world so yeah some destroying is going on.

---

<div class="post-metadata">

**Author:** ![Twan\_so-kl](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Twan\_so-kl](https://forums.unrealengine.com/u/Twan_so-kl)\
**Post date:** [August 3, 2025, 1:42pm UTC](https://forums.unrealengine.com/t/inventory-system-bug-for-when-i-click-the-item-in-my-inventory-it-doesnt-get-brought-up-anymore-after-clicking-it/2627424/14 "2025-08-03T13:42:43Z")

</div>

Yep, when I click on it in the inventory menu a second time the print string said destroyed it brings me here, I’ve tried is valid no luck even went it into and messed around

 ![Screensho1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/4/6/146ddb7d4a3d81818084a84412fb15017125f42d.png)
