Search Issue Tracker
Fixed in 2019.3.X
Votes
24
Found in
2019.3.12f1
Issue ID
1243277
Regression
Yes
ReferenceOutputAssembly key is set to false in project references
Steps:
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
-
hackson023
Aug 21, 2024 09:21
I encountered the same issue when working on a recent project. Setting the ReferenceOutputAssembly key to false in project references led to unexpected behavior. It would be helpful if the documentation provided more clarity on this setting and its implications. Anyone else find a workaround or best practice for handling this? drywallsurreybc.com
-
smithjohns402
Jun 09, 2024 09:05
If Visual Studio isn't recognizing certain types in your Unity project, it's likely due to a compatibility issue or misconfiguration. First, ensure both Unity and Visual Studio 2017 are compatible and properly set up. Try reimporting assets in Unity and rebuilding the solution in Visual Studio. Check scripting define symbols and references, and update extensions if applicable. If problems persist, seek help from Unity or Visual Studio communities. Restarting both programs may also help. With these steps, you should be able to troubleshoot and resolve the issue efficiently.
-
Rolaif
Dec 13, 2023 05:43
I Like this post thanks
-
james467798043
Aug 24, 2023 07:54
Thank You So much this is very helpful information.
-
cprenoveau
Sep 21, 2022 15:03
Experienced the issue in 2020.3.14 with Visual Studio 2019 and 2022
Issue no longer observed in 2021.3.10 -
herryparker1
Jan 27, 2021 12:48
Thanks for sharing this useful information - http://issuetracker.unity3d.com/issues/referenceoutputassembly-key-is-set-to-false-in-project-references
-
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
-
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: https://github.com/needle-mirror/com.unity.ide.vscode/commit/efa6bd0ed1ed0129f6f5c47c81f1d4b2bbd9ac53.
So update the package `com.unity.ide.vscode` to version 1.2.3 and everything should be working again.
-
FredZvt81
Oct 24, 2020 20:32
Got this error on 2019.4.12f1.
-
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.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [iOS] WebGL Player crashes when using certain iOS devices
- Bad performance when executing the Physics.IgnoreCollisions() method while in Play Mode
- Sprite Editor has a thicker separator between buttons when "Sprite Editor" option is selected
- "NullReferenceException: Object reference not set to an instance of an object" error is thrown when UpdateVolumeStack function is called
- [Windows] Unicode custom text input window shows question marks when inserting an emoji
Resolution Note (fix version 2019.3):
Fixed in 2019.3.13f1