Download

How to convert static actor reference to object reference?

I’m trying to code a shelf to open and close on command. Most of the code works great, but the problem is that it requires the character blueprint to find the exact actor being interacted with. Otherwise, all of the shelves in the level will open and close at the same time. As a result, I need to convert a static object reference to an actor object reference. What confuses me, is that I get this error whenever I start up UE4, but if I remove and replace the “find” node, keeping the connections, I don’t get any errors from the node for the rest of my session. Is there a way to convert the references? Is there a workaround? I can provide screenshots as needed.