Start a new topic

Sharing Violation

Hey, I'm getting this error while trying to add new WTC collection in Unity. Any way to solve this? It keeps crashing my editor 

 

Image firetruck_image could not be imported! Error: 
System.IO.IOException: Directory C:\Files\Unity\WikitudeTest\Temp\UnityTempFile-116adbd5e25d67442b63f0aa903cb7ff is not empty
 at System.IO.Directory.Delete (System.String path) [0x0006f] in <7d97106330684add86d080ecf65bfe69>:0 
 at System.IO.Directory.RecursiveDelete (System.String path) [0x00051] in <7d97106330684add86d080ecf65bfe69>:0 
  at System.IO.Directory.Delete (System.String path, System.Boolean recursive) [0x00009] in <7d97106330684add86d080ecf65bfe69>:0 
  at System.IO.DirectoryInfo.Delete (System.Boolean recursive) [0x00000] in <7d97106330684add86d080ecf65bfe69>:0 
  at (wrapper remoting-invoke-with-check) System.IO.DirectoryInfo.Delete(bool)
  at WikitudeEditor.TargetCollectionDatabase.ExportCollection (WikitudeEditor.TargetCollection collection, System.Boolean isNew) [0x001d0] in <42072d00aebe437da48d7bbdcc8ce744>:0 
  at WikitudeEditor.TargetProjectPanel.OnInternalGUI () [0x000a7] in <42072d00aebe437da48d7bbdcc8ce744>:0 
UnityEngine.Debug:LogError(Object)
WikitudeEditor.TargetProjectPanel:OnInternalGUI()
WikitudeEditor.EditorPanel:OnGUI()
WikitudeEditor.EditorSplitter:OnInternalGUI()
WikitudeEditor.EditorPanel:OnGUI()
WikitudeEditor.TargetCollectionEditor:OnGUI()
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

 


Hi, 


With the Unity Editor closed, can you please delete the "C:\Files\Unity\WikitudeTest\Temp" folder and then try again?


Thank you,

Alexandru

I'm using Unity 2019.1.10f and newest Trial version

Hi, 


From what I can tell, this is happening when trying to create a new WTC file using the WTC Editor inside Unity. Which version of the SDK and of Unity are you using?

Until we can resolve the issue, please use the Target Manager to generate your WTC file.


Best regards,

Alexandru

Login or Signup to post a comment