Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Getting sharing violation error when compiling webGL project

Discussion in 'Unity 5 Pre-order Beta' started by Dragonhill, Oct 27, 2014.

  1. Dragonhill

    Dragonhill

    Joined:
    Jun 2, 2010
    Posts:
    22
    has any one failed to compile a webGL project while getting this error?

    Error building Player: IOException: Sharing violation on path Z:/_Dev/UnityTest/Assets/../Temp/EmscriptenWork

    Yes, I have my project on the Z drive. Originally it was in Mydocuments on the C drive but failed the same way. I'm guessing either im missing something important OR I failed to set some flags correctly. not sure..

    The project has only 1 scene with a white sphere in it.. very basic,,no code .. and yes,, the scene has been added to the build. :)
     
  2. JonathanFontaine

    JonathanFontaine

    Joined:
    Feb 18, 2014
    Posts:
    1
    I got the same error both on Mac Os and Windows7 (Except, i used a cube and not a sphere in my scene)
    Any idea how to fix it ?
     
  3. JoshPeterson

    JoshPeterson

    Unity Technologies

    Joined:
    Jul 21, 2014
    Posts:
    6,920
    @Dragonhill Can you provide the full Editor.log file, or submit a bug with this project? Based on this error, I'm not sure what the problem is, but a simple project like this should work. Thanks.