Error while using Jet Brains Rider IDE

I get this error on the “Toolset, Environment” tab when opening Jet Brains Rider IDE for external script editor:

Generator ‘MonoScriptInfoGenerator’ failed to generate sources

Only allowed to have one file passed in with extension ‘.AdditionalFile.txt’

It doesn’t matter whether the project is fresh or not and I don’t know what couses it to appear.

Same problem. JetBrains says this is a Unity problem. Found this as a solution, but am unable to judge possible repercussions:

I have the same issue unity 6000.0.38 on mac, but it doesn’t seem to affect anything. I also found that if you update any package or add a new one via the Package Manager, the error disappears.