Search Issue Tracker
Fixed in 7.3.0
Votes
0
Found in [Package]
7.0.1
Issue ID
1178837
Regression
No
[Visual Effect Graph] IOException: Sharing violation on path error is thrown on overriding pCache file in Point Cache Bake Tool
IOException: Sharing violation on path error is thrown on overriding pCache file in Point Cache Bake Tool.
Steps to repro:
1. Open the attached project.
2. Windows > Visual Effects > Utilities > Point Cache Bake Tool.
3. Click on Mesh Asset selector button > Select Cylinder.
4. Press Save to pCache file button > Save.
5. Repeat step 3 & step 4 > Click Yes in Confirm Dialogue.
Actual Result:
IOException: Sharing violation on path error is thrown
Expected Result:
No Error in the console.
Reproducible in:
2020.1.0a1, 2019.3.0b1, 2019.3.0a10.
NOTE:
Visual Effects is introduced in 2019.3.0a10.
Environment:
Windows & Mac 10.14.
Stack trace:
IOException: Sharing violation on path C:\Users\GS1799\Downloads\VE-Test\Assets\Cylinder.pcache
System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) (at <ad04dee02e7e4a85a1299c7ee81c79f6>:0)
System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize) (at <ad04dee02e7e4a85a1299c7ee81c79f6>:0)
(wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int)
System.IO.File.Create (System.String path, System.Int32 bufferSize) (at <ad04dee02e7e4a85a1299c7ee81c79f6>:0)
System.IO.File.Create (System.String path) (at <ad04dee02e7e4a85a1299c7ee81c79f6>:0)
UnityEditor.Experimental.VFX.Utility.PCache.SaveToFile (System.String filename, UnityEditor.Experimental.VFX.Utility.PCache+Format format) (at library/packagecache/com.unity.visualeffectgraph@7.0.1/editor/utilities/pcache/pcache.cs:273)
UnityEditor.Experimental.VFX.Utility.PointCacheBakeTool.OnGUI_Mesh () (at library/packagecache/com.unity.visualeffectgraph@7.0.1/editor/utilities/pcache/baketool/pointcachebaketool.mesh.cs:67)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- 'Load texture data on demand' corrupts Unity's packages Gizmos in Scene View
- "Unable to add Renderer to the Scene after Culling." error when adding a Terrain in a HDRP project
- [Vulkan] "Dont Care" LoadAction resets to "Load" when running on Mali devices
- Building the Player takes 25-50% more time in Unity 6 compared to 2022.3 when the IL2CPP scripting backend is selected
- Rigged GameObject doesn’t return to its idle state when disabling "Preview" and the GameObject has nested rigged GameObjects
Add comment