/Game/StarterContent/Materials/M_Metal_Burnished_SteelGlow’: Can’t find file.
[2022.07.12-01.25.42:085][409]UATHelper: Packaging (Windows (64-bit)): LogUObjectGlobals: Warning: Failed to load ‘/Game/StarterContent/Materials/M_Metal_Burnished_SteelGlow’: Can’t find file.
keeps recurring a lot
I can’t tell you for sure
it does say something about your visual studio toolchain not registering, but it seems to build
Have you ever successfully built a working exe?
try to pkg a simple 3rd pers template first.
Maybe I should install Visual Studio?
If you don’t have visual studio community and the windows 10 sdk inside it installed you will not be able to make a win 64 that works.
You need the windows 10 sdk files and some of the cmd tools in vstudio to compile an exe that will work.
not sure why it didn’t give you a clearer error.
Any recommended links where I can get those files?
I’ve just tried building an earlier version of the demo and the packaged program runs. So, it’s not the editor; it’s the project. So, what do you think I should download? I already have an SDK for Windows 10 downloaded and installed, and I just repaired it, too.
if you compiled one that works
then its something in your project
something you can try that will help troubleshoot
move everything in the project into one folder
migrate the folder to a blank project
you might need to export the project settings of the older one that worked or you’ll have to set up all your controller input mappings if you don’t import them
then try to build it
It works sometimes, and sometimes not
you had it working, then did something that broke it so you really shouldn’t need to reinstall
it packaged the other project, so its a problem with something in that project
it does keep looking for that one texture over and over, but that normally wouldn’t pooch it.
not sure I can help if migrating doesn’t work, except maybe go through everything and remove unused items, and delete the intermediate again before rebuilding.
I just tried copying and pasting everything into a new folder and importing Input and Description settings. A prompt to allow Windows Firewall to make an exception popped up, but the program still won’t run.
select all the levels
right click → migrate
send it to a new blank project
just migrate the levels
it should find everything in each level and move only those things over
anything not in a level won’t migrate
this way only what you are actually using is in the new project
you could also copy the one that works and migrate the new projects levels into the working one, overwriting its files.
After that, its hunting around very slowly or sending your project to someone on fiverr
keep in mind that the thing that is killing it might not even be in one of the active levels but its still choking the compile.
make a shipping build as well
and seriously, deleting the intermediate folder often does help, even though you have to recompile all the shaders again
Eventually you will have to find everything it can’t find in the log and replace it or remove the ref to it.
I do suggest adding the sample content to the project because the one texture that keeps erroring is from the sample content and its missing.
It turns out migrating the levels did the trick! Though I will need to fix the starting level whenever the program runs. Thanks for your help!