When I’m run the project in the Visual Studio, the UE5 Editor reports some loading error, and the object related to C++ class I made has gone, so I’m confused why I run the project in the Visual Studio happens the situation? And how to fix it?
Note:
- I tried to deleted the project cache including: DerivedDataCache, Intermediate and Saved.
- I tried to deleted Binaries folder and clear and regenrate the project in the Visual Studio.
- The C++ class folder has disappered in the UE5 editor.
- Live Coding function button disappeared.
- I tried to use the check function in the Epic Launcher.
- I tried to clean to project and change the IDE to Visual Studio Code then regenerate the project.
- the name of C++ class is Movingplatform, and BP_MovingPlatform is a blueprint child class of MovingPlatform.
- the C++ source code and header file still there in the Source folder
- There’s erorr when adding new C++ class and can’t live coding, it says "Unable to parse D:/Program Files/Epic Games/UE_5.1/Engine/Intermediate/LiveCoding.json (missing LinkerPath field)“
All of the ways I tried, it doesn’t work…
I would be very grateful if the problem was solved.