SRombauts / UEGitPlugin

Unreal Engine 5 Git LFS 2 Source Control Plugin (beta)
http://srombauts.github.io/UEGitPlugin
MIT License
806 stars 165 forks source link

crash: when pulling: Reloading None, Fatal Error! Ok #92

Open svenfraeys opened 5 years ago

svenfraeys commented 5 years ago

when pulling and after it starts to reload the packages the progress window in unreal says: "Reloading None" after this a popup appears "Fatal Error!" after pressing "Ok" Unreal shuts down.

I assume that a reload is triggered on a package that does not exist. Can there be a fix added to double check this before triggering a reload?

The problem seemed to happen were I had a uasset on disk but not showing in the project.

[2019.02.19-16.13.06:303][539]LogWindows: Error: === Critical error: === [2019.02.19-16.13.06:303][539]LogWindows: Error: [2019.02.19-16.13.06:303][539]LogWindows: Error: Fatal error! [2019.02.19-16.13.06:303][539]LogWindows: Error: [2019.02.19-16.13.06:303][539]LogWindows: Error: Unhandled Exception: EXCEPTION_ACCESS_VIOLATION 0x00000000 [2019.02.19-16.13.06:303][539]LogWindows: Error: [2019.02.19-16.13.06:303][539]LogWindows: Error: [Callstack] 0x0000000000000000 UnknownFunction [] [2019.02.19-16.13.06:303][539]LogWindows: Error: [Callstack] 0x00007ffb9fe207b1 UE4Editor-CoreUObject.dll!UnknownFunction [] [2019.02.19-16.13.06:303][539]LogWindows: Error: [Callstack] 0x00007ffb9b840e28 UE4Editor-UnrealEd.dll!UnknownFunction [] [2019.02.19-16.13.06:303][539]LogWindows: Error: [Callstack] 0x00007ffb9b83fb8e UE4Editor-UnrealEd.dll!UnknownFunction [] [2019.02.19-16.13.06:303][539]LogWindows: Error: [Callstack] 0x00007ffb8a586aa0 UE4Editor-GitSourceControl.dll!UnknownFunction [] .... [2019.02.19-16.13.06:303][539]LogWindows: Error: [Callstack] 0x00007ffbf1ad81f4 KERNEL32.DLL!UnknownFunction [] [2019.02.19-16.13.06:303][539]LogWindows: Error: [Callstack] 0x00007ffbf228a251 ntdll.dll!UnknownFunction [] [2019.02.19-16.13.06:303][539]LogWindows: Error: [2019.02.19-16.13.06:314][539]LogExit: Executing StaticShutdownAfterError [2019.02.19-16.13.06:323][539]LogWindows: FPlatformMisc::RequestExit(1) [2019.02.19-16.13.06:327][539]Log file closed, 02/19/19 16:13:06

crevetor commented 5 years ago

I had the same issue and ended up tracking it down to UE trying to reload a "name pointer package". When you rename an asset in UE it keeps the original file as a pointer to the new one, trying to reload that package is what makes it crash. The way to fix the issue is to go in the content browser and right click on the top level directory and then and then click "Fix up redirectors in folder". This will remove the leftover files. After that you might want to commit the changes and pull shouldn't crash anymore.

SRombauts commented 5 years ago

That's actually a really good news ; I was never able to reproduce it. There might even be a more robust solution; you should post this as a bug report to Epic Games because it's most likely a thing to fix int the Engine

crevetor commented 5 years ago

Agreed, it is on my TODO list to open a bug with Epic.

crevetor commented 5 years ago

Here is the public issue that Epic opened to track the problem https://issues.unrealengine.com/issue/UE-63030

SRombauts commented 5 years ago

Thanks a lot, that's great

crevetor commented 4 years ago

FYI the Unreal bug is marked as fixed in 4.24

SRombauts commented 4 years ago

Nice! Thanks for sharing