.cpp file missing in editor
So I have created 1 class which is the TankPlayerController which points to a pawn that's a Tank and in the visual studio solution the header and cpp file are there, but in the engine editor it isn't. And the compiler is failing because the engine is not seeing the tank files. How do I fix this? I have tried shutting down the editor vs and reopening as others have said and have tried rebuilding the solution and engine by removing all delegates and rebuilding and it still is not picking up my other class.
I tried that and it didn't work. they were created inside the engine itself and the engine said there was an error in generating the files, but in VS they are there, and have the basic generated code of #includes and everything. Luckily it was my first 2 C++ classes of the project so I made a new one created them and transferred over my content folder. But I will definitely need to know how to fix this if it happens in a project much farther along.
answered Aug 16 '17 at 09:32 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here