I use drop function with interface named “DroppableInterface” and when I want to drop my item it doesn’t work. When I close the game, editor gives me error “Blueprint Runtime Error: “Attempted to access Flashlight_C_2 via property K2Node_DynamicCast_AsDroppable_Interfacem but Flashlight_C_2 is not valid (pending kill or garbage)””. Why? I use “Held Item” variable (Actor object reference) to save the name of picked up item (When I interact with Flashlight actor the Held Item variable sets to Flashlight name but in error I see Flashlight_C_2)
How can I fix this? I need to destroy Flashlight in game
Ah yes, I got it and I solved it. I’ve just set the “Held Item” variable to "P_Flashlight" and to “P_Flashlight” I connected “DroppableInterface” so now it works. Thanks!
Excellent ![]()





