Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Unity Multiplayer bug: ArgumentException: Invalid path Path.GetDirectoryName()

Discussion in 'Multiplayer' started by transat, Feb 29, 2020.

  1. transat

    transat

    Joined:
    May 5, 2018
    Posts:
    779
    depenencyPaths??

    Code (CSharp):
    1. [Exception] ArgumentException: Invalid path
    2. Path.GetDirectoryName() at <437ba245d8404784b9fbab9b439ac908>:0
    3.  
    4. WeaverRunner.OnCompilationFinished() at Library/PackageCache/com.unity.multiplayer-hlapi@1.0.4/Editor/WeaverRunner.cs:105
    5. 103:   {
    6. 104:       if (!(assembly.ManifestModule is System.Reflection.Emit.ModuleBuilder))
    7. -->105:           depenencyPaths.Add(Path.GetDirectoryName(Assembly.Load(assembly.GetName().Name).Location));
    8. 106:   }
    9. 107:   catch (FileNotFoundException) { }
    10.  
    11. CompilationPipeline+<>c.<SubscribeToEvents>b__25_3() at /Users/builduser/buildslave/unity/build/Editor/Mono/Scripting/ScriptCompilation/CompilationPipeline.cs:224
    12.  
    13. EditorCompilationInterface.TickCompilationPipeline() at /Users/builduser/buildslave/unity/build/Editor/Mono/Scripting/ScriptCompilation/EditorCompilationInterface.cs:398