SRombauts / UEGitPlugin

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

Engine Crashing when Pulling from github #87

Open Reetro opened 5 years ago

Reetro commented 5 years ago

Am coming here from the ue4 answerhub. Here is the original post https://answers.unrealengine.com/questions/863900/git-plugin-crashing-engine.html

So am having a problem with this plugin. When I click sync/pull it crashes the engine. here is the crash log.

InsertNameV2.log

Reetro commented 5 years ago

So I've made a interesting discovery I made a new project with this plugin installed and it works just fine. So I think something broke in my main project. I did just update this project from 4.19 to 4.21 so their may be some files I have to change just don't where to start.

SRombauts commented 5 years ago

Okay, I was going to say that I had no problem on a test project: I guess it's something about a certain type of assets that the engine is unable to reload or something like that ;

Looking at your logs, you do have Blueprint compile errors, so the project might be in a bad state and unable to Sync in this case

SRombauts commented 5 years ago

In your logs thee is a message to contact Epic Games with the repro case!

Before that, You should install the Debug Symbols, using the Options of the Engine in the launcher ; this would tell me and Epic Games where the bug is...

Oh, and you should also have a Saved/Crashs folder, can you send a zip of one crash? This mostly out of curiosity honsestle

Also I should add that this have probably nothing to do with the source control plugin nor git.

Reetro commented 5 years ago

Ya would have to agree that this problem has nothing to do with source control. It just seems like a bunch of stuff broke when I updated the engine to 4.21. Installing debug symbols so gonna see what that turns up. Also here is that zip file you wanted. Crash.zip

Reetro commented 5 years ago

So this is really weird when I am ue4 it's telling me everything is fine. Like I can compile blueprints and c++ code just fine. Run it in the editor and it works. No errors it's only when I go to pull from github is when it's telling me there are errors.

Reetro commented 5 years ago

also new discovery it's also crashing when I try to revert changes so when ever I reload files it crashes

SRombauts commented 5 years ago

Is it crashing if you try to revert only one asset, with the context menu, or only when Sync / Revert all from the Source Control menu? Because the second is reloading the whole map, which might cause the issue?

Reetro commented 5 years ago

yes it is crashing when every time I reload/revert any asset

SRombauts commented 5 years ago

Ok, so it's definitely an issue ont the Editor ; is it on 4.21? It was working previously, tested on 4.18, and it up to 4.20 iirc

Reetro commented 5 years ago

ya it's on 4.21

Reetro commented 5 years ago

also I recently notice that when the engine crashes I get this error

Access violation - code c0000005 (first/second chance not available)

UE4Editor_CoreUObject!UObjectBase::IsValidLowLevelFast() [d:\build++ue4\sync\engine\source\runtime\coreuobject\private\uobject\uobjectbase.cpp:320] UE4Editor_CoreUObject!FPersistentFrameCollectorArchive::operator<<() [d:\build++ue4\sync\engine\source\runtime\coreuobject\private\uobject\uobjectglobals.cpp:3329] UE4Editor_Core!FStructuredArchive::FSlot::operator<<() [d:\build++ue4\sync\engine\source\runtime\core\private\serialization\structuredarchive.cpp:390] UE4Editor_CoreUObject!UStruct::SerializeBin() [d:\build++ue4\sync\engine\source\runtime\coreuobject\private\uobject\class.cpp:860] UE4Editor_CoreUObject!UStruct::SerializeBin() [d:\build++ue4\sync\engine\source\runtime\coreuobject\private\uobject\class.cpp:844] UE4Editor_Engine!UBlueprintGeneratedClass::AddReferencedObjectsInUbergraphFrame() [d:\build++ue4\sync\engine\source\runtime\engine\private\blueprintgeneratedclass.cpp:1509] UE4Editor_CoreUObject!ReloadPackages() [d:\build++ue4\sync\engine\source\runtime\coreuobject\private\uobject\packagereload.cpp:573] UE4Editor_UnrealEd!UPackageTools::ReloadPackages() [d:\build++ue4\sync\engine\source\editor\unrealed\private\packagetools.cpp:716] UE4Editor_UnrealEd!UPackageTools::ReloadPackages() [d:\build++ue4\sync\engine\source\editor\unrealed\private\packagetools.cpp:466] UE4Editor_GitSourceControl UE4Editor_GitSourceControl UE4Editor_GitSourceControl UE4Editor_GitSourceControl UE4Editor_SourceControl!FSourceControlModule::Tick() [d:\build++ue4\sync\engine\source\developer\sourcecontrol\private\sourcecontrolmodule.cpp:244] UE4Editor_UnrealEd!UEditorEngine::Tick() [d:\build++ue4\sync\engine\source\editor\unrealed\private\editorengine.cpp:1897] UE4Editor_UnrealEd!UUnrealEdEngine::Tick() [d:\build++ue4\sync\engine\source\editor\unrealed\private\unrealedengine.cpp:403] UE4Editor!FEngineLoop::Tick() [d:\build++ue4\sync\engine\source\runtime\launch\private\launchengineloop.cpp:3699] UE4Editor!GuardedMain() [d:\build++ue4\sync\engine\source\runtime\launch\private\launch.cpp:174] UE4Editor!GuardedMainWrapper() [d:\build++ue4\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:145] UE4Editor!WinMain() [d:\build++ue4\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:276] UE4Editor!__scrt_common_main_seh() [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:283] kernel32 ntdll

SRombauts commented 5 years ago

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

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