Getting problem while exporting game

I am trying to export my game that I have build into exe so that my friends can test it but getting unknown error I have sdk Installed, dot net and I have baked the code.


UBA-Valador_2-Win64-Shipping.txt (10.5 KB)

Here is the image and log file.

No valid Visual C++ toolchain was found (minimum version 14.38.33130, preferred version 14.38.33130). Please download and install Visual Studio 2022 17.8 or later and verify that the “MSVC v143 - VS 2022 C++ x64/x86 build tools (v14.38-17.8)” component is selected in the Visual Studio 2022 installation options.
Total execution time: 4.48 seconds
Visual Studio 2022 x64 must be installed in order to build this target.

1 Like

Okay I will try. Also for exporting to android do I need to do anything extra except installing android studio?

Now getting this error


UBA-Valador_2-Win64-Shipping-1.txt (34.6 KB)

Allright, seems build runs ok for a while and does its core compilation until it meets

[3/5] Compile [x64] Valador_2.cpp, seems over there a compilation error.

If you make a another target to build we can get more info about the error also.

Try deleting the Intermediate folder, it can help sometimes

Generally when a c++ code compiles ok but creates problem in build is due to the code snippets that meant not to be in build. Like editor only decleration etc.

If its not big file you can paste and we can take a look, however you can search for code snippets that are editor only too.

Something like hitbox that are visible and for development mode only this can create problem.
I can try to bake the code again.

Also what do you mean by removing the intermediate folder?

D:\YourProject\Intermediate folder you can try deleting it, sometimes build assets etc can get stuck thats why (long shot)

However I think there is a problem with the Valador_2.cpp