Packaging game not working from the command line
I'm trying to package our game from a batch file and I'm running into an issue of the build and automation tool failing due to the error: Exception in mscorlib: Illegal characters in path.
I only receive this error when using relative path variables for the paths required in the command line (-project and -archiveddirectory). When I use absolute paths for my uproject and archived directory, the command line works fine, but unfortunately, that means the batch file won't work on other development machines (we want it to). Since the packaging works with absolute paths that at least tells me that I'm using the correct set of arguments for a working cook/package. As far as I can tell, I'm not using any unusual characters in my relative paths. I don't even have spaces. I haven't been able to find anything in regards to this error online. Does anyone have any insight into what is causing this error or what set of characters are considered legal?
For reference, here are my batch commands:
We're using version 4.9.2 and that won't be changing until we start the next project. I'm developing on a Windows 10 machine and we're delivering on Windows 10. I've included the log file from the automation tool as well. link text
asked Aug 03 '17 at 07:11 PM in Packaging & Deployment
I managed to solve my issue by removing the quotation marks around my relative path variables. They were there to protect against spaces in directory names, but apparently the automation tool command line doesn't like them.
answered Aug 03 '17 at 07:33 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here