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

Unity.UnknownLayer inspection does not respects default Unity layers #2094

Closed
DmitriyYukhanov opened this issue May 21, 2021 · 9 comments
Closed
Assignees
Milestone

Comments

@DmitriyYukhanov
Copy link

DmitriyYukhanov commented May 21, 2021

Hey, looks like this inspection does not takes standard Unity layers into account:
image

image

@krasnotsvetov
Copy link
Collaborator

Hi!
Could you attach your \ProjectSettings\TagManager.asset file?

@DmitriyYukhanov
Copy link
Author

Hey @krasnotsvetov , sure:
TagManager.zip

@citizenmatt
Copy link
Member

What version of Unity is this project?

@DmitriyYukhanov
Copy link
Author

What version of Unity is this project?

It's Unity 2018.4.0f1 %)

@DmitriyYukhanov
Copy link
Author

I've just tried updating project to Unity 2019.4.0f1 and still seeing this though.

@DmitriyYukhanov
Copy link
Author

Also I can't reproduce this issue in new project both in Unity 2018.4.0 and 2019.4.0, it's something specific to my project.

@citizenmatt
Copy link
Member

I think you have a project that was created in a much older version of Unity, and you haven't edited tags/layers since then. I suspect if you add a new tag, it will save in the new format. If I look at a file in the format we do support, it's also got a serializedVersion: 2 field. I'm guessing yours was the original format, but I can't recreate it with 5.6, so it much be earlier than that.

@citizenmatt citizenmatt self-assigned this Jun 18, 2021
@citizenmatt citizenmatt added this to the Rider 2021.2 milestone Jun 18, 2021
@DmitriyYukhanov
Copy link
Author

Yes, it's totally possible it migrated from 5.4 or even earlier version!

@citizenmatt
Copy link
Member

Either way, I've just added support :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants