- Home /
Unity error immediately after creating a new Project
When creating a new 3D project in Unity (version 2019.3.3f1), I got an error in the Unity console without making any change or doing anything within Unity.
The Error:
IndexOutOfRangeException: Index was outside the bounds of the array. VSCodeEditor.ProjectGeneration.b__25_0 (System.String asset) (at Library/PackageCache/com.unity.ide.vscode@1.1.4/Editor/ProjectGeneration/ProjectGeneration.cs:175)
And the line of code supposedly wrong is from the file created w/ the Project called projectGeneration.cs.
var affectedNames = affectedFiles.Select(asset => m_AssemblyNameProvider.GetAssemblyNameFromScriptPath(asset)?.Split(new [] {".dll"}, StringSplitOptions.RemoveEmptyEntries)[0]);
Your answer
![](https://koobas.hobune.stream/wayback/20220613002129im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Creating .unityPackage from within Visual Studio 1 Answer
Configuration of Visual Studio csproj 1 Answer
Removing "Development build" text in a Windows Store App 0 Answers
Unity continusly reimport scripts when i open visual studio? 0 Answers
Windows phone 8.1, no mouse input in VS simulator. 0 Answers