hello so i been working on a few of my maps and i haven’t built any of the lighting since 4.12.3 so after adding more items to them and i go to build the lighting the engine crashes… it hasn’t done this since 4.12.3 so i thought i should report it
Update: so i found the error to be the swarm agent but restarting did not solve it, after reading the logs it says something about a incorrect line of code on the agent application on the main at line 133… here is the log
Typically when the editor crashes like this it’s due to an error within Windows that causes the program to crash. The information from the log above should help to identify the error code that Windows generates for the crash.
Also, is it only happening in this project or are you able to build lighting for other projects without issue? It may be a memory usage issue where Windows is running out of RAM. looking at the log I could see that have 16GB of RAM, of which 7GB was being used for ShooterGame, which leaves 9GB for Windows, other programs, and the light build to process which may not have been enough.
lol no that’s not the example shootergame i couldnt come up with a name at that time so i called it shootergame lol this project is built from scratch
at first i thought that i added too much items to the scene so i have deleted most of them to see if that was causing it but it wasnt…tho keep in mind the scene in the past has held 6000 individual objects and calculated the lighting just fine
i shall check out the wev
update: nothing is shown in the event viewer that has a connection to unreal… as i mentioned in the logs it seems to be the swarm agent… something about not connecting and something about a issue in its code
Retrieve the super verbose logs from Swarm Agent following instructions in this page.
Swarm should not cause the editor to crash since it’s a separate program that handles the building process.
You may also want to follow notes in this page to see if Swarm is using the right ports. If not, you’ll want to correct this on your machine since this is not an issue with UE4 or Swarm but your machine and the ports that are free.
ok so following the link Does UE4 / Swarm Require a "D" Drive? - Rendering - Unreal Engine Forums
this was the same issue i was facing in terms of logs and all and managed to solve it by running it once with administrator then turning it off in properties and restarting computer (note that i had to turn it back off and restart because it would still give me an error)
ok so credit goes to tim for giving me the link. but if anyone is facing the same issue as me go into the directories and find the swarm agent, right click and run as administrator then after that go into the swarm agent exe properties and disable administrator and restart computer… this is how i fixed the issue i was facing