Hi there
Some frustrating build error has been driving me crazy lately.
The project has been packaged perfectly fine a while ago.
Only recent it starts to show errors and packaging fails more frequent - it seems happens so randomly. A lot of times it just shows “Unknown Error”, and each time the errors differ a little bit.
Such as below “Fatal Error”:
From what the log provided I have no idea what’s going on nor how to prevent this from happening.
It’s not like every time but about 1/4 of packaging will now result in errors and failures.
Any hints?
Additionally, it seems if I quit and relaunch the UE5 editor, then start the packaging process, it doesn’t seem to fail.
Any explaination?
Hey there @Guesscui2018! Are the errors always memory access exceptions? Could you install the Editor Symbols as shown below and try to build again? These will help generate a more verbose callstack to understand the issue a bit better.
Again~ looks similar
I’ll download the component and give it a try~
So I updated with the installment of the component along with the engine itself, hasn’t happened again… could be engine got messed up for whatever reasons I guess and the update just reset it.
That’s interesting! The editor symbols shouldn’t do much besides helping you understand the errors that should appear in engine/build processes. Though I would recommend as a first order fix that when you have seemingly random memory errors to repair the engine installation, but the diagnostics of knowing what is happening usually helps first. Keep me updated!
Yeah it’s definitely something’s been reset. Been trying to mess it up again the whole afternoon and I can’t seem to be able to reproduce it. I realize this because some of the shader modifications I did to the engine was also set back to default after the update. Will keep you updated on the issue if I ever saw it again~