Tag is reset on every recompile

How do i prevent the tag on the hidden door from being reset after compiling? When i compile, the tag is reset to none.

a) double-check that in C++ class the UPROPERTY(EditAnywhere) is set for that acceptable door tag value,
b) verify that you are setting acceptable tag value in the BP_SecretWall trigger component,
c) if both a and b true, then you may be experiencing the “UE5 editor out of sync with visual studio/vs code” so exit UE5 editor, clean project, and re-build in VS Code or Visual Studio… then re-open in UE5 editor and do a and b again. You should now see after exit of UE5 and re-opening (or re-compiling using Live Code) the value is staying in blueprint editor for the trigger component.

It’s likely due to the buggy Live Coding, have you tried disabling it?

It only fixes if I’m not using live coding.

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

Privacy & Terms