Author Topic: IOException with Atlas Maker  (Read 3706 times)

Wisteso

  • Full Member
  • ***
  • Thank You
  • -Given: 21
  • -Receive: 3
  • Posts: 103
    • View Profile
IOException with Atlas Maker
« on: March 02, 2015, 08:47:28 PM »
Using 3.7.7 (upgrading soon, just haven't had a moment yet)

Search didn't show any result for this exception, but it caused the atlas texture to not have some attributes set properly. Hopefully it didn't cause any issues that require reverting back with GIT.

I dont think any other program was using this file at the time, since I almost never need to edit/view it. My tools also said nothing was using the file when I checked a moment later.

IOException: Sharing violation on path G:\dev\zoobys\weirdables\Assets\Textures\NGUI\HD.png
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00251] in /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.IO/FileStream.cs:320
  at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int)
  at System.IO.File.Create (System.String path, Int32 bufferSize) [0x00000] in /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.IO/File.cs:135
  at System.IO.File.Create (System.String path) [0x00000] in /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.IO/File.cs:130
  at System.IO.File.WriteAllBytes (System.String path, System.Byte[] bytes) [0x00000] in /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.IO/File.cs:594
  at UIAtlasMaker.UpdateTexture (.UIAtlas atlas, System.Collections.Generic.List`1 sprites) [0x000bc] in G:\dev\zoobys\weirdables\Assets\NGUI\Scripts\Editor\UIAtlasMaker.cs:602
  at UIAtlasMaker.UpdateAtlas (.UIAtlas atlas, System.Collections.Generic.List`1 sprites) [0x0000c] in G:\dev\zoobys\weirdables\Assets\NGUI\Scripts\Editor\UIAtlasMaker.cs:714
  at UIAtlasMaker.UpdateAtlas (System.Collections.Generic.List`1 textures, Boolean keepSprites) [0x00024] in G:\dev\zoobys\weirdables\Assets\NGUI\Scripts\Editor\UIAtlasMaker.cs:697
  at UIAtlasMaker.OnGUI () [0x00ad3] in G:\dev\zoobys\weirdables\Assets\NGUI\Scripts\Editor\UIAtlasMaker.cs:1050
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000d0] in /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222
 
(Filename: /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.IO/FileStream.cs Line: 320)