My blueprints seem to not be functioning after i closed my editor yesterday, when i tried to open my project, it told me that there were files missing in my editor, so I would try to restore them and open the project, but all of my blueprints (the likes of which are derived from a C++ class named basepawn, were missing, when i tried to open the blueprint i got this error message here
i would proceed to use live compiling to try and fix the issue, but this didn’t work, so i closed the editor and compiled in visual studio code, in which this also would not fix anything when i entered the editor again.
I would check where the BasePawn C++ class was, in which i would find it, doing just fine, where i made it last.
Did you by any chance rename the C++ base class after creating the blueprint? If you do that you need to use something called “redirectors” to add a pointer from the old name to the new one. Since the blueprint opens, you should also be able to re-select the class from the “Class Settings” button near the top in the blueprint editor, and then you can change the “Parent Class” in the details panel there.
Hmm, you might also want to try closing everything, clearing out the Binaries and Intermediate folders (I use VS so it might be slightly different for VS Code), and then refresh the visual studio code project files by right clicking on the uproject file going to “Show more options” and then “Generate Project Files”. Then try to recompile everything again from VS Code and relaunch the editor.
It’s also possible the blueprint got corrupted but I’ve found that this is rare in practice and is usually instead the result of something being out of date on the C++ code side.
You may need to select “DebugGame” or the “DebugGameEditor” configuration in VS Code. The first is for launching the game by itself (without the editor and closer to what a packaged build for players would look like), and the second one is for launching in the editor, which is probably what you need.
“Debug” by itself is if you were building the engine from source and debugging it as well as your game.
i have come to the clonclusion that there is something inharently wrong with my C++ Class (basepawn), i have deleted both my tower and tank blueprint, and tried to make new blueprints with it as the parent class, however none of my UPROPERTY’s are actually present when i make this
If you’re launching the project from either double clicking the .uproject or from the Epic Games launcher then that is the wrong task; that opens the development build of the project so would need ToonTanksEditor Development.