Difficulty with RebuildLightMaps
So I've been attempting to set up an automated system that'll rebuild the lighting in our project. However, I've been having some trouble getting RebuildLightMaps to work correctly.
If I use the following command via a build tool that I've set up:
I get the following error and stack trace:
I'm unsure what exactly its looking for, as I think i've followed the examples I've seen online, but they might have been for older versions of the engine. Adding a -TargetType=Program, ie, the argument it seems to be looking for according to the code in the stack trace, doesn't seem to affect this error.
Is there an example of this command in use anywhere, or is there something obvious that I've left out? I believe my paths are right, given that other commands via our build tool work fine for the files, but I don't know what else I could be missing.
asked Feb 05 '19 at 03:05 PM in Using UE4
So I went and read the code for the command, thinking perhaps that I'd forgotten to add a parameter, and it turns out I had. You need to give it the parameter
Hopefully this'll appear somewhat highly in results for this subject, so you should also know that the command will fail outright if one of the maps you're trying to build is unable to be accessed. We have exclusive checkout of
answered Feb 06 '19 at 10:36 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here