YAML kept excluded from Unity project.

Hello!

I am currently using Rider as support for Unity version 2018.4.36f1. In my project, I am using yaml files as data holder. However unlike other cs files or xml files, it kept excluded from Unity project (I can't find when it excluded.). It is kind of annoying, since I cannot search yaml files from Rider with "Find in files" or other things.

Is there any options I am missing? Or is it just impossible to auto-include yaml file in Assets?

5 comments
Comment actions Permalink

Hello! Can you those *.yaml files if click Show All files in Solution explorer? Can you see no index next to it? If so, can you manually start indexing with right-click Tools | Start Index?

0
Comment actions Permalink

Thank you!

There was 'no index' next to it, and now it is indexed by do so.

So do I have to manually start index yaml files whenever I create new file?

0
Comment actions Permalink

It should index them, at least I can see them indexed automatically in my solution. Where exactly do you have these files located? Are they part of the project, are they in the same location?

0
Comment actions Permalink

These files are in sub-directory of  Assets folder with other xml files. Strange thing is that xml files are auto indexed while yaml files aren't, even though they are in same directory.

0
Comment actions Permalink

Indeed, sounds strange. What Rider version do you use? Is RiderEditor package up to date in the Unity package manager? Does the issue happen in other projects too or only in this one?

0

Please sign in to leave a comment.