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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment