-
Notifications
You must be signed in to change notification settings - Fork 131
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
Rider apparently creating superfluous .meta files #1481
Comments
@Kylotan What is your Rider version and Unity version? When this issue happens again, please list here paths of those meta files. A screenshot may help. |
Our team is experiencing the same issue. It happens on both Windows and macOS. Worst of all, the Rider plugin even causes the meta files to get created outside the folder of the repository. Example folder structure:
Meta files get created for:
Can you try reproducing it in a git repo where the Unity project is one folder down and there's a stylecop JSON file in the root of the git repo? Versions: |
Reproduced, thank you! |
* fix #1481 * fix metafiletracker for file: based packages * fix because folder and asmdef and assembly name can be of different names
* fix #1481 * fix metafiletracker for file: based packages * fix because folder and asmdef and assembly name can be of different names
cherry-pick to 2019.3.2 #1491 |
Thanks for the rapid fix! But, is there any workaround in the meantime? This is making it very hard to work with a Unity project and version control when it keeps making extra meta files everywhere, including in submodules. |
@Kylotan |
Sorry for delay. 2019.3.2 with this fix was released. |
Confirmed, the issue is gone on my end. Note that after updating Rider you have to restart Unity, I guess that otherwise the plugin doesn't reload. |
My workaround is handpicking .meta files and unshelving them first, and then unshelving everything else. |
@van800 This is just to let you know that we are still seeing the error in Rider 2019.3.4. |
@bartlomiej-dawidow Thank you for the heads-up, somehow I missed your previous comments. It seems that you are facing some issue different from originally reported. This issue and its fix are all about |
Since a recent upgrade, I've found that sometimes I am getting a bunch of meta files created for files outside the Assets directory and that should not have meta files. These are mostly for csproj files. I just have to keep deleting them.
I can't 100% verify that it is Rider and not Unity causing this, but:
It's probably worth noting that our repository contains both standard Unity projects and a packages directory, and maybe this is confusing Rider and making it think the root is further up than normal.
The text was updated successfully, but these errors were encountered: