Visual Studio File Modification Detected

So I’m using UE5.02 and if I create I class inside the Unreal Editor and hop into Visual Studio 2022 this pops up.


Not sure how I am supposed to respond to this since whatever I’ve tried it just messes up my project and compilation starts failing. Any hint on how to handle this would be wonderful.

Hi @gotagamee, If you create a class, in Unreal Editor or directly in C++, you always need reload and build, because, you’re creating new code, and this code need compile. If you create this class and not reload, basically, you won’t bring the changes to build or whatever you want to do whit them in Visual Studio and that’s why fail. The best option to have all changes integrated correctly is Reload All

2 Likes

Thank you, I’ll remember to press Reload All at all times!