Created a lyra 5.3 project and generated solution file and attempted to build it. The build process came up with some errors in Win.Automation project. It doesn’t look like this has affected the building of lyra though.
I don’t like having build errors though. How to fix this?
1st error occurs in BgScriptReader.cs in Engine\Source\Programs\AutomationTool\BuildGraph on line 1640 - possible null argument…
Fix for this error:
Change line 1640 to:
if(users !=null)
{
report.NotifyUsers.UnionWith(users);
}
2nd error: in CheckforHacks.cs in Engine\Source\Programs\AutomationTool\Scripts line 87
error is Number of parameters supplied in the logging message template do not match the number of named placeholders
Fix for this line: add {arg0} like so:
Logger.LogInformation(“Scanning files…{Arg0}”, FilesToCheck.Count);
3rd error: in LyraDeployment.EpicGameStore.cs in LyraStarterGame\Build\Scripts\Deployment on lines 150 and 192
error is Re-throwing caught exception changes stack information.
Fix - change both lines from:
throw EX
to:
throw.