Blueprint dirty on opening UE4

One of the blueprints in my project is always marked dirty on opening the editor. I can compile it and everything will function fine until I close the editor. The next time I open the editor and the blueprint: dirty again. No amount of compiling or saving has changed this (and I have tested; it does save).

Recently started happening; can’t think of anything it could have coincided with that might have triggered it.

It hasn’t caused any issues yet, but I’m concerned that it could.

Are you doing something with key input in this blueprint? I always gets this issue when I use the Getkey in an input event. Sometimes it stays green when I close the blueprint in another tab.

Edit: its IsGamepadkey not Getkey

Same behavior with IsGamepadkey. That was the one in my case, not GetKey.

Can confirm, did add key input logic to the blueprint recently. Removing that got rid of the buggy behavior, so it was something in there. Will attempt to narrow down.

EDIT: Narrowed down to Key is Keyboard Key function. Bug happens if node is in blueprint, even if unconnected to other nodes.
EDITx2: hmm… Might also be Any Key input, though bug only happens if the Key variable is connected to other nodes.

Hey NullBlack,

Thanks for narrowing this down. I’ve searched through our database and came across an issue that seems to be what you’re experiencing. Here’s a link to it on the public tracker:

Have a great day