Visual Studio 2015/2013

For some reason Visual studio 2013 wont let you package and 2015 wont let you build.
Make UE4 kinda useless specially when I can proceed with my project.
How come these is not fixed by UE4. I tried both Visual Studios and both don’t work and both having Automation errors
Which are not easily solved by us users. I wish UE4 could look in to these. It’s kinda serious problem if your a game developer. Cheers.

Hello Silverfish1000,

Whenever you have automation errors, the output log should be able to point you in the right direction with an error message which you can usually look up and find another instances of people reporting it. Using Ctrl+F and searching for the word “Error” or “Warning” is a good way to do this. Visual Studio works for our other users so there is likely something wrong with either your setup, installation, or usage case.

Can you please provide the log file for one of these failed package or build attempts? I won’t be able to determine what issue you’re encountering otherwise.

Thank you for reply!! These are the error that are that I see.

Error:

0]LogImageWrapper:Error: PNG Error: IDAT: CRC error
UATHelper: Packaging (Android (ASTC)): UE4Editor-Cmd: [2017.02.01-22.36.23:490][ 0]LogImageWrapper:Error: IDAT: CRC error
UATHelper: Packaging (Android (ASTC)): UE4Editor-Cmd: [2017.02.01-22.36.23:500][ 0]LogTexture:Warning: PNG decompression of source art failed
UATHelper: Packaging (Android (ASTC)): UE4Editor-Cmd: [2017.02.01-22.36.23:511][ 0]LogTexture:Warning: Cannot retrieve source data for mip 0 of texture T_Brick_Clay_New_D

Error:

AutomationTool.Automation.Execute(List1 CommandsToExecute, CaselessDictionary1 Commands)
UATHelper: Packaging (Android (ASTC)): at AutomationTool.Automation.Process(String[] Arguments)
UATHelper: Packaging (Android (ASTC)): at AutomationTool.Program.MainProc(Object Param)
UATHelper: Packaging (Android (ASTC)): at AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param)
UATHelper: Packaging (Android (ASTC)): at AutomationTool.Program.Main()
UATHelper: Packaging (Android (ASTC)): Program.Main: AutomationTool exiting with ExitCode=25 (Error_UnknownCookFailure)
UATHelper: Packaging (Android (ASTC)): BUILD FAILED
PackagingResults:Error: Error Unknown Cook Failure

From searching for the first error I see, it seems like this may be caused by a corrupted PNG. Try looking for the log messages around those error messages to see what assets it may be.

If you need further assistance, as mentioned previously, please include the full log file, as even the messages that aren’t errors are helpful.

I am having the same error after going from 4.18 to 4.19. This CRC LogInageWrapper PNG compression error is resulting from a version change in the Editor, not from a corrupted png file, because our project was packaged successfully in 4.18. If png files have been corrupted then it occurred when clicking “convert-in-place” when first opening the project in 4.19