Search Issue Tracker
Fixed in 7.3.0
Votes
0
Found in [Package]
7.0.1
Issue ID
1178834
Regression
No
[Visual Effect Graph] ArgumentException error is thrown on cancelling pCache file window in Point Cache Bake Tool.
ArgumentException: Path is empty error is thrown on cancelling pCache file window in Point Cache Bake Tool.
Steps to repro:
1. Create a new project.
2. Windows > Package Manager > Visual Effects Graph > Install.
3. Windows > Visual Effects > Utilities > Point Cache Bake Tool.
4. Click on Mesh Asset selector button > Select Cube.
5. Press Save to pCache file button > Cancel.
Actual Result:
ArgumentException error is thrown in the console.
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:
ArgumentException: Path is empty
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
- A Console error is not handled correctly when using #pragma kernel with the Kernel name not provided
- L(a,b) expression in float fields has erratic behaviour when ordering due to using instanceID as an index
- InvalidOperationException is thrown when switching to a custom Debug Draw Mode in Scene View
- [Android][Vulkan] Skybox and Environment effects flicker in the Player when using the Vulkan Graphics API
- "Shortcuts conflict" warning pops up when the shortcuts are different ("Shift + Mouse 2" and "Mouse 2")
Add comment