Comments (15)
Thanks for the detailed information, I shall try to see if projects on a secondary drive is a problem.
Can you try on a new template project, and also from another drive?
Other than that, there are to possible culprits:
- LFS not working anymore?
- The plugin using the wrong git.exe (from GitHub desktop rather than from Git for windows). That you can look at in the Init/Login screen
(also, I need to have some sleep, so good night)
from uegitplugin.
Hi!
Sorry about that, this is more or less a known problem, depending on how you use the Editor, but I shall try to get rid of this when I get some time to spend into it...
Cheers!
from uegitplugin.
I'm encountering this same issue in a 4.16 project. 😢 I started the project and Git repo with 4.16 Preview 1. It worked fine through all the preview releases, but today using the 4.16 stable release I am getting errors for almost every action.
If I launch the editor and click "Submit to Source Control":
git-lfs filter-process: git-lfs: command not found
fatal: The remote end hung up unexpectedly
fatal: C:/Program Files/Epic Games/UE_4.16/Engine/Content/: 'C:/Program Files/Epic Games/UE_4.16/Engine/Content/' is outside repository
If I turn off source control and attempt to connect again:
git-lfs filter-process: git-lfs: command not found
fatal: The remote end hung up unexpectedly
Failed to enable Git source control. You need to initialize the project as a Git repository first.
Just thought I'd give you more evidence to work with in addressing this issue. Good luck fixing it! Thanks for all the hard work! 😄
from uegitplugin.
Okay, trying to reproduce this with UE4.16, git version 2.13.0.windows.1, which include git-lfs/2.1.0 (GitHub; windows amd64; go 1.8.1; git bd2c9987).
Creating a new First Person Blueprint project, using the automatic repository creation and automatic initial commit.
Here is the message I get when I commit a modified asset using right-clic context menu (no problem):
[2017.05.25-05.46.53:155][212]LogSourceControl: FGitCheckInWorker: commit successful
[2017.05.25-05.46.53:257][212]SourceControl: Info [master f7c0cf1] test mono checkin
[2017.05.25-05.46.53:257][212]SourceControl: Info 1 file changed, 0 insertions(+), 0 deletions(-)
[2017.05.25-05.46.53:265][212]SourceControl: Info Commited [master f7c0cf1] test mono checkin.
Using the global "Submit to Source Control", I get an info message with the error (but it's filtered out as not a real error, hence the "Info" prefix:
[2017.05.25-05.49.07:489][185]SourceControl: Info fatal: C:/Program Files/Epic Games/UE_4.16/Engine/Content/: 'C:/Program Files/Epic Games/UE_4.16/Engine/Content/' is outside repository
[2017.05.25-05.49.19:219][185]LogSourceControl: FGitCheckInWorker: commit successful
[2017.05.25-05.49.19:322][185]SourceControl: Info [master 0cd69ac] global submit to source control
[2017.05.25-05.49.19:322][185]SourceControl: Info 1 file changed, 0 insertions(+), 0 deletions(-)
[2017.05.25-05.49.19:333][185]SourceControl: Info Commited [master 0cd69ac] global submit to source control.
I installed UE4.16 in default location, and my project is in the same drive, in C:\Users\sebas\workspace\MyProject2
ps1: so at least, creating a fresh repository with a recent git version is working on Windows.
ps2: I'll try uninstalling git to install an older release.
from uegitplugin.
@nkpfstr Can you give me some more info, what Git version? How did you create your repository: using the connect screen of the plugin? Or with a GUI tool? Do you happen to have a .gitattributes file? Did you try to setup git LFS at some point?
What are the path to your project?
from uegitplugin.
Using git version 2.10.0.windows.1 without Git LFS on the same project is working the same.
from uegitplugin.
What Git version?
2.11.0.windows.3
How did you create your repository?
With the connect screen of the UE4 plugin.
Do you have a .gitattributes file?
Yes. It's configured for Git LFS to recognize Unreal assets:
*.uasset filter=lfs diff=lfs merge=lfs -text
*.umap filter=lfs diff=lfs merge=lfs -text
Did you try to setup Git LFS?
Yes, see above. Worth noting that I setup LFS with GitHub Desktop, which I also use for all my Git operations outside UE4.
What is the path to your project?
D:/UnrealProjects/<Project>
It's on a separate drive; UE4 and Git are both installed on C drive.
from uegitplugin.
Hi @nkpfstr, so I reproduced your problem by creating a new project with Git+LFS, then uninstalling Git and LFS: the plugin then find another "git.exe" (for me inside SmartGit, for you the one shipped with Github) but for this git.exe there is no associated LFS extension, so any actions now fails!
Can you please confirm that your Git.exe path is not the standard one ("C:\Program Files\Git\bin\git.exe")?
from uegitplugin.
That's correct. The Git.exe detected by the UE4 Git plugin is in C:\Users\Nick\AppData\Local\GitHub\PortableGit_<long-string-of-random-characters>\cmd\git.exe
.
from uegitplugin.
Ok, so you should be able to override this with the correct (above) path and get things working again :)
Also, there should have been no changes between 4.16 preview and final release, so I am not sure about why you have this problem at this time...
from uegitplugin.
Just for future reference, this "fatal:" error is only when you have the "Engine Content" displayed in the Content Browser!
LogSourceControl: Warning: RunCommand(status) ReturnCode=128:
fatal: C:/Program Files/Epic Games/UE_4.17/Engine/Content: 'C:/Program Files/Epic Games/UE_4.17/Engine/Content' is outside repository
from uegitplugin.
Not sure if this is related but I can't get this plugin to work at all with 4.19.2. This is the only error in the message log. It happens when making a new third-person template project and trying to check out any file. The file always fails to checkout, however, the file still gets locked and this error is displayed in the message log. I am trying to use git lfs and file locking with a private github repository.
from uegitplugin.
even though we do not display the engine content in the content browser we get this error on every file after the first push
from uegitplugin.
hello,
I am experiencing the same problems at some point.
Here is part of my log, hope this helps.
[2019.02.19-16.15.19:709][298]LogSourceControl: LockedFile(F:/Unreal Projects/Project_Production/Content/mats/NewMaterial2.uasset, Sven)
[2019.02.19-16.15.19:709][298]LogSourceControl: RunCommand: 'git status --porcelain --ignored "F:/4.20.3-customEngine/Engine/Content"'
[2019.02.19-16.15.19:770][302]LogSourceControl: RunCommand(status):
[2019.02.19-16.15.19:770][302]LogSourceControl: Warning: RunCommand(status) ReturnCode=128:
fatal: F:/4.20.3-customEngine/Engine/Content: 'F:/4.20.3-customEngine/Engine/Content' is outside repository
from uegitplugin.
Is there any update on this issue, since I'm experience it using Linux running UE 5.3.2?
from uegitplugin.
Related Issues (20)
- Update for 4.26 HOT 2
- Diffing/merging materials
- Packaging fails with LFS Plugin in project
- Cannot use plugin if user has no credential manager installed HOT 1
- Too many redirects or authentication replays HOT 1
- UE4 Plugin Unable To Handle Umlaut U HOT 2
- Very slow performance HOT 7
- Support for UE5 projects HOT 2
- Enable discussions feature HOT 1
- Detect Git LFS username HOT 1
- Maybe archive this repo and link to an updated fork? HOT 9
- Git localized path
- Connection Error:Failed Git remote connection
- UE5 Support HOT 2
- Hello, Does the plugin work stable with UE5? HOT 1
- SourceControl: Error: Operation 'UpdateChangelistsStatus' not supported by source control provider 'Git LFS 2' HOT 1
- Engine versioning support with this plugin HOT 1
- Plugin was built with a different engine version HOT 1
- UE Git Plugin Not allowing checkin and checkout of files
- Blueprints reported as changed when changes made only in parent
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uegitplugin.