Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAfter ~400 changes nothing is listed in "changes" tab #871
Comments
|
ok closing this, sorry git / code control newbie here. |
|
Glad you figured it out |
|
Not sure why this is closed. This does not feel like a solution to the problem. You shouldn't have to create a brand new unity application just to get GIT to recognize there are "changes" to the repo. I just created a brand new project, copied other files over and its still not even picking those up. Thoughts? |
|
@RTZCLE There is nothing in the previous issue that I can use to debug... Can you start by telling me if you are able to reproduce this everytime? |
|
I've been working for a few hours on a new project. Added Github integration at the start. Everything was working, I changed Camera angle, and it was picked up by Github GUI as a change.. I did a test commit and push. All ok. So I got back to work. Then just now, I've checked Unity GIT GUI, and none of my changes have been added. i.e "No files listed in "changes" tab". I've gone into command. "git status" reveals that all the files are changed, but none are showing in the Unity GUI. I've command line "git add -A", now I can see hundreds of files ready to add. Still no show in GUI. I restart Unity. No change. I do "git commit" then "git push origin master" files go to server. Still not a twitch out of Unity GUI. Unity 2018.2.6f1. 64 bit. Windows 10. Git 2.18.0.windows.1. I'm using System GIT, which I downloaded just now. Hope this helps - important plugin IMO. |
|
Same as described. Unity Git doesnt seem to track new files when added via explorer. I had a very massive project which I tried to push with the Unity for GitHub but I had to apply all changes via console since the UI didnt fetched it for some reason. Using Window 10 |
|
Hey @paulrayrussell @konstantinkuehn. Thanks for testing our stuff out and coming here to report issues. I fixed a few issues and I'm coming around to this one now. I need a bit more from you guys though. Can either of you try to capture trace logs when things are not working? |
|
How you can try to reproduce it:
If this isnt reproduce able it might be possible that it is also an result from using before the Unity built in Collab Feature or the Size of the Project. At the end the fix for this is very simple. After this is done future changes will be tracked in the ui. In my case the git add -A took over 2 hours maybe this is also a reason why it wasnt done by the ui itself( might would have killed unity) |
|
For me this issue was caused by me adding another build folder with a different name that wasn't in the gitignore. It was just above 500MB large and then no changes were shown in the Github for Unity UI. |
|
@abretten @RTZCLE @paulrayrussell @konstantinkuehn @AllBecomesGood Sorry it's taken so long, this problem is obscure. I believe you are all "stuck" in a state where your cache has invalidated, it tried once to validate it, and it no longer attempts to validate. So your logs show up empty. I think I have gotten closer to solve the issue, but I need your help in testing this next build. This may not fix your error, but it will allow the "Refresh" button to "try again". And hopefully between that and the new logs we capture, we can solve all of your problems. Please give it a shot and let me know how it goes. |
|
My build server screwed me and that previous link won't install correctly. Unzip and try this instead. |
|
|
|
I unfavourable fixed it myself via console. |
|
|
|
I am finally able to reproduce this |
|
Now that I understand the problem in more detail, I updated the original issue body. |
|
Also have this problem. Adding the repo to Github Desktop shows all the changed files just fine (over 2000). |
|
I had the same issue as described by Cdddo, in my case I had a fresh system and with only windows github gui installed. Cdddo can you check if cli works when you start it from unity? In my case it didn't so I figured I'll install the standard git cli. Afterwards unity started picking up on files as expected |
|
Just a heads up for others. I too had a problem with changed files not appearing under the changes tab. A Now, I have no idea why that location changed from previous projects where the correct path was the default |
|
I had the same problem when I was working on a project on MacOS. In my case, I added a new package to Unity and GitHub for Unity just stopped detecting all changes. I solved the problem by reinstalling git-lfs using Hope that helps! |
Edit by @StanleyGoldman
Issue Explanation
Steps to Reproduce
Expected Behavior
GitHub for Unity should display all files in the changes view
Actual Behavior
GitHub for Unity should displays an empty changes view
Explanation
The issue is largely around our implementation of
ProcessWrapper. We declare anAutoResetEventcalledgotOutputthat is used to help understand if output is still being returned, but it's been proven that if you can generate enough output, this event does not wait enough time. Increasing the timeout can allow some more input but theProcessWrapperwill also needlessly wait for a lot of commands.Unity/src/GitHub.Api/Tasks/ProcessTask.cs
Lines 116 to 121 in e2f8c62
Unity/src/GitHub.Api/Tasks/ProcessTask.cs
Lines 150 to 157 in e2f8c62
Original Issue Report