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
- “FocusController has unprocessed focus events.” warnings are thrown after adding iOS, tvOS or visionOS Build Profiles
- Holes and different colors appear on default Tree Materials after applying them to the Tree GameObject and undoing changes
- Error indicating that the Text Asset Importer hasn't been disposed properly is logged when switching Importer Type in a Focused Inspector
- Documentation installation shows "Install failed: Validation Failed" when installing Android Build Support module
- Error indicating that the Package Manifest Importer hasn't been disposed properly is logged when switching Importer Type in a Focused Inspector
Add comment