I’m a beginner trying to add and mess around in the fps template project. Whenever I try to ‘Build’ the project, the Unreal program promptly crashes. I suspect it has something to do with lighting, but I’m not sure.
I don’t get a list of errors or anything, just a dialog box saying, ‘Unreal Engine has stopped working’.
When this problem first occurred, I tried giving Unreal Engine administrator permissions, and everything worked fine. Now the problem has returned, and I don’t know what to do.
The problem persists on versions 4.10 and 4.11. I’d appreciate any help.
Yeah, this occurs on both template levels and blank projects.
I suspect it relates to exporting lighting. The program can crash when rendering the lighting instantaneously or as high as 44% completion. No error report, just an abrupt crash.
I’m not sure how to get the crash callstack. I’ve checked several ‘CrashReportClient’ folders and they’re all empty.
Unfortunately this happens with some errors. If you could try one more test it should help immensely in determining what is occurring. In a blank project, create a new, empty level. Once you do so. Add a single point light and a cube within the light’s radius. After doing so, press build. Do you see the crash occur? If so, can you post the crash logs for this specific crash here?
I read through the Swarm Agent guide and followed as best I could. Most of the errors mentioned didn’t seem to be related to my problem, as far as I can tell.
I can’t open SwarmAgent.exe when I click on it, if that’s relevant.
I did manage to make a minor breakthrough though, I think. While checking error reports in the Windows Action Center, I managed to discover a series of errors related to Unreal Engine. Every time the program crashed, Windows claims this was to blame:
I think I’m updated now. There’s always the possibility I’m not, because I had to wade through dozens of available updates to find the ones that matched my machine. I’m about 90% sure I’m updated though.
Anyway, whatever I did didn’t work. Unreal Engine still crashes.
Actually, I’ve already tried to install that update. With that one, along with several others, I had a mess of a time. I kept getting an error message, ‘The driver being installed is not validated for this computer.’
I just now redownloaded it and tried it again to be sure, and it doesn’t work.
The next thing I did, was download the ‘Intel Driver Update Utility.’ It told me there are no graphics updates for my computer because my drivers are custom. So I went to the Toshiba support website and looked up the recommended updates for my specific computer, downloaded and installed them.
The latest one was from late 2015. As far as I can tell, I’m as up to date as I’ll ever be.
The model of pc you have, does it come with an r9 card? The only thing we really haven’t tried other than completely uninstalling and reinstalling the engine is to check that the integrated graphics card is not being used instead of the r9.
Try turning off your firewall before running the build again. I was looking through your logs again and found this line:
LogSwarmInterface:Error: System.Net.Sockets.SocketException (0x80004005): No connection could be made because the target machine actively refused it 127.0.0.1:8008
It looks like your computer is preventing SwarmAgent from running, which could be the cause of the crash. Turning it off before the build will allow SwarmAgent to run. If this works, SwarmAgent will need to be whitelisted in your firewall settings to be able to be utilized. Please try this and let me know if it works.
I don’t typically allow just any program through the firewall, but last week on a hunch I allowed SwarmAgent through the firewall just to make sure. It hasn’t fixed things.
Sometime soon I was going to try a complete uninstall/reinstall and see if that makes a difference. I’m still positive, because there was a brief period of time where everything did work. Things built to 100%.
Any chance sometime in the future UE4 will see even broader compatibility expanses to grant mercy to odd computers like mine? I have three indie game ideas I would love to bring to life in UE4.
Unfortunately at present I do not have an answer to that question. The reason I suggest moving swarmagent and the editor into the exceptions for your firewall and anti-virus programs is that we have seen in the past that they throw a false positive and will often be prevented from correctly working. There have been no instances to date of someone receiving a virus or malware from the launcher/editor/swarmagent.