Search Issue Tracker

By Design

Votes

0

Found in

2020.2.0a4

Issue ID

1228962

Regression

No

Rider package is not loaded if there is an compilation error in the script

Scripting

-

Prerequisites:
Open any version of Unity Editor and set "Preferences -> External Tools" to Rider

Steps:
1. Open attached project
==> There is no Rider package in the project and there is an compilation error in the script
2. Open Package Manager and Install latest Rider package
3. Double-click on the error in console
==> Rider could not load a solution since Rider package is not loaded

Workaround: Reopen the project
Notes:
Also reproducible in Version 2019.2.21f1 (9d528d026557)
Might be related to Case 1222377

  1. Resolution Note:

    It will work if you restart the editor, where we compile and load what is possible. When the Editor is running we will only reload the assemblies if everything has compiled successfully.
    This is by design and the workaround is to restart Unity.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.