Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No log for connection issues? Cannot do anything, but no log entries either. #17

Open
Cyberman-tM opened this issue Feb 8, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@Cyberman-tM
Copy link

I seem to have a similar issue to #16 , but for different reasons. I think the issue is that Git cannot connect, but I don't know - there's no popups, no login requests, nothing.

Not even a log file. I wasn't sure if I looked in the right place until I enabled Tracing, which gave me a log file with a single line, namely that tracing is now enabled.

Is this normal? If so, I would suggest adding something to the log, even if it's just "new log file created", so users know they're looking in the right place and there is no log file (yet).

@shana
Copy link
Member

shana commented Feb 9, 2023

I swear exceptions should be getting logged and I'm baffled why they aren't. Could you check in the editor log? Maybe they're ending up in there for some reason.

@Cyberman-tM
Copy link
Author

Cyberman-tM commented Feb 9, 2023 via email

@shana
Copy link
Member

shana commented Feb 10, 2023

Are you referring to the name/email fields in the settings? Those are there because some git operations require a name/email to be configured - they can be anything, and are not related to authentication.

This version of Git for Unity doesn't authenticate you to whatever git provider you're using (GitHub/GitLab/etc) - it relies on authentication being already set up before. If the repository that you're using is private, then you need to make sure you can actually pull/push to it. Since you have the project open, I assume you've cloned the repository in some way outside of Git for Unity? To doublecheck that Git in general is working, open a command line (outside of Unity), go to where your project is, and run git fetch to see if git works and is successfully authenticated - this might fix whatever authentication issue you might be having.

I'm working on fixing the logs to actually log whatever the heck is going wrong with these "can't do anything" issues, I'll update as soon as I have something.

@shana shana added the bug Something isn't working label Feb 10, 2023
@Cyberman-tM
Copy link
Author

Cyberman-tM commented Feb 10, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants