- Home /
Error in Unity. Networking
I'm creating a Multiplayer game with Unity and all was normal until the Editor splash this error message: Also, Sometimes said that I have errors in my scripts but not said where, all my scripts don't have errors. I don't know what to do. Help me, please.
This is the error message:
Unhandled Exception: System.IO.IOException: Sharing violation on path F:\Pictures\Sample Pictures\Blog\Juego\Dogs Wars\Temp\Assembly-CSharp.dll.mdb
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) <0x1fc74c0 + 0x006af> in :0
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean isAsync, Boolean anonymous) <0x3d73fe8 + 0x0004f> in :0
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access) <0x3d73f88 + 0x0004f> in :0
at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess)
at Mono.CSharp.AssemblyDefinition.Save () <0x3d5c208 + 0x0036f> in :0
at Mono.CSharp.Driver.Compile () <0x1fd6230 + 0x00707> in :0
at Mono.CSharp.Driver.Main (System.String[] args) <0x1f90f30 + 0x00147> in :0 [ERROR] FATAL UNHANDLED EXCEPTION: System.IO.IOException: Sharing violation on path F:\Pictures\Sample Pictures\Blog\Juego\Dogs Wars\Temp\Assembly-CSharp.dll.mdb
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) <0x1fc74c0 + 0x006af> in :0
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean isAsync, Boolean anonymous) <0x3d73fe8 + 0x0004f> in :0
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access) <0x3d73f88 + 0x0004f> in :0
at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess)
at Mono.CSharp.AssemblyDefinition.Save () <0x3d5c208 + 0x0036f> in :0
at Mono.CSharp.Driver.Compile () <0x1fd6230 + 0x00707> in :0
at Mono.CSharp.Driver.Main (System.String[] args) <0x1f90f30 + 0x00147> in :0
And this is other message that i don't know how to fix:
Failure generating network code. UnityEditor.Scripting.Serialization.Weaver:WeaveUnetFromEditor(String, String, String, String, Boolean)
I also have this problem and no idea how to fix it, (Not even using Unity Networking)