Why is my event getting deleted?

Whenever I open my project, this “Use” event gets deleted and replaced.
You can see the error message at the bottom,

Also the interface it is inhereted from Is implemented and there werent any changes made to it, it just does this.

image

Any ideas?

ps. this is how it should normally look

Hey @littlemanul!

So what it’s saying is that the Event on the Interface has been removed. Can you show the Blueprint Interface opened up? I know it seems like a problem for HERE but it looks like a problem on that interface.

Let’s see that and try to get you done and moving! :slight_smile:

Hi! @Mind-Brain

Not sure how familiar you are with Blueprint Interfaces, but they dont have their own event graph. Not an editable one at least. Im still relatively new so i might be wrong but as I know it you cant make logic and place nodes inside an interface.

Anyhow here are some screenshots that might help in solving my issue.

image

You actually can add some minor things like passing in variables etc- they seem really restrictive but there are some really powerful things you can do with them- though that’s not why we’re here :stuck_out_tongue: I wanted to see the list of functions.

So what’s happened is there was a function called “Use” in the interface before. Maybe it was deleted? Maybe it was renamed? Either way- that’s what it’s saying. It’s saying "Hey- there’s not one called “Use”… so we’ll turn it into a custom event to prevent a Null Reference Exception. Either you need to delete that “Use” node and replace it with “Interact” or make a new “Use” function in the interface :slight_smile:
image

Go check it out and let us know how it goes!

**Edit: Actually, I’m seeing a discrepancy here. The node says it’s pulling from “Use Interface” (which would be the name of the interface) but you are showing “Interact Interface”. Are you possibly implementing the incorrect interface here?
image
image

Yea thats true i must have been tweaking or something that I took a screenshot of the Interact Interface so my bad.

but the use interface looks the same as well

And whenever I re-add the node so its correct and it is from the use interface everything works fine and it does what its supposed to in-game!
No errors no nothing.
However when I re-launch the editor the problem comes up again.

Fixed version after launch:
image

After restarting the editor and looking at the same blueprint without touching anything:
image

Okay, so that confirms it isn’t what I was hoping.

Try this: Remove the interface from that blueprint. Completely.
Save it.
Re-implement it on the blueprint.
Save it, close out, check again.

Sometimes you just have to take it apart and reassemble it. Let us know if that works!

Sorry for the late response, but yeah I have already done that too.
I might just have to completly remake the interface, I havent tried that yet.
But if that wont work it might just be cursed.

1 Like

This ended up working.

I remade the Interface with a different name,

I guess for any future readers, make sure your interface isnt named as something that might conflict with the way the engine itself works.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.