Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Cannot start procces, because file name has not been provided (running Script)

Discussion in 'Editor & General Support' started by unity_ggofDglXgWhvdg, Jun 19, 2019.

  1. unity_ggofDglXgWhvdg

    unity_ggofDglXgWhvdg

    Joined:
    Jun 19, 2019
    Posts:
    1
    Hello,

    So I just started learning Unity, and after I make more than 1 script, this error messasge pops in the console:
    "
    InvalidOperationException: Cannot start process because a file name has not been provided.
    System.Diagnostics.Process.Start () (at <d465e2b2e5054d2787d6364114c43446>:0)
    (wrapper remoting-invoke-with-check) System.Diagnostics.Process.Start()
    UnityEditor.DefaultExternalCodeEditor.OpenProject (System.String path, System.Int32 line, System.Int32 column) (at C:/buildslave/unity/build/Editor/Mono/CodeEditor/DefaultExternalCodeEditor.cs:96)
    Unity.CodeEditor.CodeEditor.OpenFileAtLineColumn (System.String path, System.Int32 line, System.Int32 column) (at C:/buildslave/unity/build/Editor/Mono/CodeEditor/CodeEditor.cs:31)
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr)
    "
    Visual Studio was on my PC already, installed Unity, then went to VS, and I clicked, create new project-->Game--> Unity, it said, that it was not installed, so i installed it.

    Could this be a the problem?