Missing Options under External Tools

Under Preferences → External Tools

I am missing a check box option for “Player Projects
7418513--907640--upload_2021-8-14_17-11-55.png

MINE (2019.4.0 LTS) :

Apparently what this does is
“For each player project, generate an additional .csproj file named ‘originalProjectName.Player.csproj’. This allows different project types to have their code included in Rider’s systems, such as assembly definitions or testing suites.”

https://docs.unity3d.com/Packages/com.unity.ide.rider@3.0/manual/using-the-jetbrains-rider-editor-package.html#:~:text=the origin listed.-,Player projects,-For each player

I need to find a way to turn this off, because my VS is generating extra solutions (which are just duplicates) causing extra load times. I have another programmer on my team, using the same version of unity, and he does not have this problem. I am not using rider, and I do not want the .player extensions.


Please tell me how I can turn this off for the version I am on. I do not have the option to upgrade the project at this time.

Update,

I installed Rider and still do not see this check box option

7418666--907664--upload_2021-8-14_19-51-39.png

Even rider does not generate the .Players, which is supposed to be why they exist? Rider also seems 50% faster than VS on script creation/deleting compile times

I notice that :

2019 Visual Studio Community edition loads all the .player solutions,
but
2017 Visual Studio Community edition does not load them.

comparatively creating/deleting scripts takes about 50% less time in 2017 than 2019. Rider takes about the same time as 2017.

Installed everything on a new machine and 2019 VS on that machine with 2019.4.0 Unity does not produce the .player solutions

I was able to find a VisualStudioEditor file in 2 locations :

AppData\Local\Unity\cache\packages\packages.unity.com\com.unity.ide.visualstudio@2.0.3\Editor
C:\Users\Name\Documents\github\UnityProjects\NameOfCurrentGame\Library\PackageCache\com.unity.ide.visualstudio@2.0.3\Editor

Both have this option under OnGUI() .

However, adding Debug.Log(“”) statements do not print anything to editor.

For the one in AppData, if I do not specify UnityEngine.Debug.Log i get an ambigious warning when returning to the editor, but it still wont print anything.

No idea why this button isnt showing up

I was finally able to find a solution thanks to JetBrains Rider support.

  1. Install Rider
  2. Install Rider in the Unity Package Manager
  3. Select Rider under Preferences-> External Tools
  4. If unity GUI shows a checkbox for “player projects”, then turn if off, regen proj files, and switch back to VS
    ***Stage 2 Issue
  5. If Unity GUI doesnt show the player projects check box and packagemanager says rider is up to date, then unity packagemanager got rider stuck on an old version, you must manually fix this.
  6. Navigate to root\Packages\manifest.json , then change “com.unity.ide.rider” to something like 3.0.7
    **Stage 3 Issue
  7. If upon reloading to Unity you get an error with rider in the package manager you need to uninstall nUnit either in the package manager, or remove the line in the manifest.json since rider seems to have some kind of dependency on it. Finally the option should appear to turn off player projects back under external tools.

It appears my VS2019 was using some old cached version of an EditorScript OnGUI that thought “player preferences” was serialized as “true”. For whatever reason VS2017 and actual Rider itself didnt think this.

My load times in VS2019 are now no longer a nightmare as its not generating duplicate .Player Solutions.

I hope this never happens to any one else.

Whoa, I’m so sorry you had to go through all this :(. What a bizarre issue.

1 Like