Search Issue Tracker
Fixed in 1.0.4
Votes
0
Found in [Package]
1.0.3
Issue ID
1146408
Regression
Yes
[Scripting] ArgumentException on opening C# Project
ArgumentException is thrown in the console when a C# project is opened from the project window.
Steps to repro:
1. Create a new project
2. Project window > right-click > Open C# Project
OR
1. Project window > create > C# Script
2. Select newly created script > right-click > Open C# Project
Actual Result:
ArgumentException is thrown in console and solution doesn't load
Expected Result:
C# project opens up and the solution is loaded without any exception.
Note:
Double-clicking on the script in a project doesn't open for the first time instead a blank visual studio opens up however script opens second time onwards.
Reproducible on:
2019.3.0a1 (55af1135a189), 2019.2.0a12 (536fc8373447)
Working Fine on:
2019.2.0a11, 2019.1.0f2
Environment:
Windows and MacOS
Stack Trace:
ArgumentException: The specified path is not of a legal form (empty).
System.IO.Path.InsecureGetFullPath (System.String path) (at <23c160f925be47d7a4fd083a3a62c920>:0)
System.IO.Path.GetFullPathInternal (System.String path) (at <23c160f925be47d7a4fd083a3a62c920>:0)
System.IO.FileInfo.Init (System.String fileName, System.Boolean checkHost) (at <23c160f925be47d7a4fd083a3a62c920>:0)
System.IO.FileInfo..ctor (System.String fileName) (at <23c160f925be47d7a4fd083a3a62c920>:0)
(wrapper remoting-invoke-with-check) System.IO.FileInfo..ctor(string)
VisualStudioEditor.VSEditor.OpenProject (System.String path, System.Int32 line, System.Int32 column) (at <b4051d9dd87a41979e733b2e9a757161>:0)
UnityEditor.CodeEditorProjectSync.OpenProjectFileUnlessInBatchMode () (at C:/buildslave/unity/build/Editor/Mono/CodeEditor/CodeEditorProjectSync.cs:52)
UnityEditor.CodeEditorProjectSync.SyncAndOpenSolution () (at C:/buildslave/unity/build/Editor/Mono/CodeEditor/CodeEditorProjectSync.cs:44)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- ”Last item reached” warning is thrown when no search results are found in UI Toolkit Layout Debugger
- UI Elements overlap in the Shortcuts window when docked and resized to a smaller window size
- UIBuilder DataSourcePath dropdown fails to show properties when binding to abstract classes
- Errors are logged when importing an asset at a path with Firebase
- Entering too big of a number in 2D Renderer Lightmode Tags freezes the Editor
Add comment