Search Issue Tracker

Fixed in 2019.3.X



Found in


Issue ID




ReferenceOutputAssembly key is set to false in project references



1. Set External Tools to Visual Studio 2017 in Unity Editor
2. Open attached project
3. Double-click on any script in Assets -> Examples -> Scripts folder
4. In the Visual Studio 2017 solution Expand NavMeshComponents project
5. Double-click on NavMeshAssetManager.cs
6. => Studio highlights the types it cannot find in red

Reproducible with: 2019.3.12f1
Not reproducible with: 2018.4.22f1, 2019.3.11f1, 2020.1.0a1, 2020.1.0b8, 2020.2.0a9

  1. Resolution Note (fix version 2019.3):

    Fixed in 2019.3.13f1

Comments (58)

  1. herryparker1

    Jan 27, 2021 12:48

  2. snowinrain

    Jan 20, 2021 03:44

    In Package Manager, find "Visual Studio Code Editor" and upgrade to version 1.2.3 to fix the issue

  3. peabnuts123

    Nov 22, 2020 23:56

    I have received an update from Unity that this issue has been resolved in `com.unity.ide.vscode@1.2.3`. You can see the changes to the code mirrored here:

    So update the package `com.unity.ide.vscode` to version 1.2.3 and everything should be working again.

  4. FredZvt81

    Oct 24, 2020 20:32

    Got this error on 2019.4.12f1.

  5. joeccleung4SmashingIdeas

    Oct 22, 2020 15:46

    Thank you @peabnuts123 for the workaround. I am new to issue tracker and not sure where to file this issue.

  6. peabnuts123

    Oct 19, 2020 23:57

    UPDATE: It turns out com.unity.ide.vscode@1.1.4 is utterly broke as well, see Unity forum thread:

    1.2.0 was a release to address this issue. It seems the recommendation at the moment is to actually roll back to 1.1.3. This is (finally) working correctly for my on my machine.

  7. peabnuts123

    Oct 19, 2020 23:43

    A regression has been made in the package com.unity.ide.vscode since v1.2.0 that re-introduces this property in generated csproj files, breaking external compilers.

    You can see it in the code mirrored here:

    If you revert back to com.unity.ide.vscode@1.1.4 then this problem goes away (though you lose the "Regenerate project files" button in settings - automatic generation still works). I've raised a ticket with Unity to remove this from the package, will comment here again when it is updated.

  8. chantey

    Oct 16, 2020 02:55

    uuumm are you sure this is resolved? I'm getting the same behaviour on versions:

  9. strictly9jaofficial

    Sep 05, 2020 06:33


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.