Cannot rename a variable?

Hi guys,

I have a pretty strange probleme right now. This is what’s happening :
I rename a variable from “gold” to “goldToGive”. The variable is private and is an integer.
Then, I restart UE4, and I get this error :
Error Failed import for IntProperty /Game/Sources/BP_ABaseCharacter.BP_ABaseCharacter_C:gold

I don’t know what’s happening, I have check in all my blueprints and there is no references to the ancient “gold” variable.
Does anyone have an idea ?

Thanks !

same here, after renaming a int variable i got the same error about failed import the integer variable

there is no more reference about the old one

i cldnt find how to fix it

Have you tried recompiling the Blueprints accessing the variable? I think you have to both compile and save all affected Blueprints.