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
-
chantey
Oct 16, 2020 02:55
uuumm are you sure this is resolved? I'm getting the same behaviour on versions:
2020.1.6
2020.1.9
2020.2.0b7 -
alexerd
Sep 21, 2020 06:45
-
strictly9jaofficial
Sep 05, 2020 06:33
nice
-
RKeown3D
May 08, 2020 16:59
I was chasing my tail for about 3 hours this morning, after upgrading from 2019.3.3f1 to 2019.3.12f1. I'm glad someone found it and posted the fix. I t was getting annoying as all hell!!
-
MrG
May 06, 2020 22:13
This is fixed in 2019.3.13, both for new projects and existing projects upgraded from 2019.3.12 where they were broken in Visual Studio 2019.
-
lumeriith
May 06, 2020 18:38
@DRDRAXI Thank you, this worked after closing Visual Studio, deleting .vs folders and all VS files, and then reopening any script.
-
otez
May 06, 2020 10:47
@Luvikung you can set it to 'true' in referencing .csproj files
-
DrDraxi
May 06, 2020 10:47
I found this piece of code on some forums few days after 12f1 was released. Just put this script somewhere inside your Assets folder and it should "fix" your .csproj file on import.
(Replacing these lines by hand won't work. They will change back to false everytime the script gets changed -> saved -> reimported)
using UnityEditor;
public class FIX : AssetPostprocessor
{
private static string OnGeneratedCSProject(string path, string content)
{
return content.Replace("<ReferenceOutputAssembly>false</ReferenceOutputAssembly>", "<ReferenceOutputAssembly>true</ReferenceOutputAssembly>");
}
} -
MrG
May 05, 2020 22:29
Also effects Visual Studio 2019
-
Seith
May 05, 2020 11:54
@Luvikung None, except reverting your project to 2019.3.11f1 (not sure how feasible that would be) or switching to Visual Studio Code (which is not affected by this bug).
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
- PlayerLoop.SetPlayerLoop() function is ignored when playing game in Player
- Lighting data is carried over from one Scene to another when changing Scenes in the Play Mode
- The <sprite> tag inserted image from a Sprite Asset into the UI Builder Button disappears when the Inlined Style Text Shadow Horizontal or Vertical Offset is set to be more than 0 px
- Build fails when building with ILCPP Scripting Backend and ARMv7 as the Target Architecture
- Textures turn black in Player when they are referenced by a script instance
Resolution Note (fix version 2019.3):
Fixed in 2019.3.13f1