Git (beta) hard crash every commit. UE4.19.2

UE4.19.2 is crashing out every time I commit. Using git v2.18.0.windows.1, git-lfs/2.4.2.

Documentation says git and git lfs plugin included in core install, no need to add/replace plug in. Command line indicates git is working properly, and lfs is managing the binary files, yet editor is not handling it well.
All question/answers on the matter seem to be a year or more old… was wondering if git is supported as is, or do I need to change settings, use different plug-in, etc…

Obviously cannot use git versioning if it crashes the editor every time I use it. Please help!
(edit: git appears to work fine with project via command line)

Hello,

We’ve recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.

https://epicsupport.force.com/unrealengine/s/

Thanks

Thanks. Bug report filed for empty project, initial Connect to Source Control crash. Should I file a separate bug report for when it crashes on commit with active project or will they match this bug report to crash reporter user ids from previous crashes?

Hi, I am the author of the Git plugin in Unreal Engine.

I have been using Unreal Engine 4.19.2 a lot with Git, not much with Git LFS, but it is indeed working and maintained.

If you want some help from me, please give some more information;

  1. what is your git installation; only git for windows with LFS installed automatically?
  2. is your command line git correctly working with LFS? because the plugin will use the command line configuration
  3. are you trying to use git lfs? can you try in a project with only git standalone?
  4. what git binary path is picking the plugin (in source control connection settings): is this indeed the git version you install? (correct path?)
  5. can you check you /Saved/Logs/.log to see if there is any info?

Last but not least; if you have still no clue after looking at your logs and reviewing your git installation, you could try to install my updated standalone version of the plugin that I maintain separately Git Plugin v2:

Hi, thanks for the reply!

  1. Git version 2.18.0.windows.1 and git-lfs/2.4.2 (GitHub; windows amd64; go 1.8.3; git 6f4b2e98). I just activated it, so that would be the auto install?

  2. Command line works, and according to git status the plug-in is adding new files but not adding modified files. I add those from command line and everything commits fine. I haven’t checked anything out of the repository though (I am new to this VCS and do not want to write over the master by mistake.)

  3. git lfs is working, fsck reports ok, files from project are there and commit when added, not sure what you mean in part two of your question by “git standalone.”

  4. path is different from command line but git executables exist at both paths: UE: “C:\Program Files\Git\bin\git.exe” cygwin(which git): “/cygdrive/c/Program Files/Git/cmd/git”

  5. I do see some info in the game log, will append to this reply. The critical line appears to be:
    “SourceControl: fatal: C:/Program Files/Epic Games/UE_4.19/Engine/Content: ‘C:/Program Files/Epic Games/UE_4.19/Engine/Content’ is outside repository”
    The git logs only show the commit comment I entered before the crash.

link text

I think I get what you mean by standalone, ie. the v2 plug-in. Will look into that, though using the command line to complete the commits is not so bad as far as work arounds go.

Looks like the issue is its trying to add something from the UE installation path to the repository…

edit: was also noticing that the source control UI does not pick up my user name or email which was set when I first ran git from command line, nor does it seem that there is anywhere to add/change that info in the UI, the text boxes are not editable.

  1. I think the main issue here is that you have two installations of git, and one might not be usable or have the right configuration ; you have to be able to use git from the standard windows cmd.exe shell (not Cygwin) else UE4 will not work. You might want to uninstall one git to only keep a working Git for Windows installation
    => no name & email is the exact symptom showing that
  2. using my Git V2 plugin could help you by having much more logs just before the crash
  3. the “fatal” error here is not a real issue, just an annoying error msg

Hi again. Thanks for the feedback. I installed V2 plugin (added functionality shows in menus) but it still crashes on commit. I hid the /bin/git.exe version, and UE plugin is pointing to the …/cmd/git.exe version (the one CMD, and cygwin are using) but it still is crashing out.

It is interesting that the plug in -is- adding files as the get created, they show up in the git status report, but it is not adding modified files, and not able to successfully commit. So it is seeing git and running it some of the time with no issue.

So for now I will continue to use the command line to finish the commits (add --all, and commit…) which is not that big a deal. Let me know if you need any more information and/or help chasing down this bug.

Working in UE 4.20.2
very nice.