I’ve been looking to add some C++ classes to my Unreal 5.5 project, and in doing so, I was able to create one class, but attempting to create any more causes an error to pop up, saying the live coding failed. According to the live coding log:
Expecting to find a type to be declared in a module rules named ‘VisualStudioTools’ in ‘UE5Rules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’. This type must derive from the ‘ModuleRules’ type defined by UnrealBuildTool.
I’m not sure why it says this. I have the the Visual Studios Tools plugin on my project, and I have my Source Code Editor set to Visual Studios 2022 in my preferences. Is there something I’m missing here?
Checking through the community, this error was encountered and resolved in another thread. Please test their method for your scenario:
In case the issue remains active after removing the plugin, I would suggest a reinstallation of Visual Studio, and all its required elements, according to your UE version.