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.
  2. Join us on March 30, 2023, between 5 am & 1 pm EST, in the Performance Profiling Dev Blitz Day 2023 - Q&A forum and Discord where you can connect with our teams behind the Memory and CPU Profilers.
    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


    Jun 2, 2010
    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


    Feb 18, 2014
    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


    Unity Technologies

    Jul 21, 2014
    @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.