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
- Uninitialized variable warning appears in the Inspector of a custom shader when the variable is initialized
- "Failed creating toolbar element from ID..." error is thrown when resetting the Scene view Overlay layout while an Asset Transformer Toolbox overlay is active
- Entity ID for Font Assets is serialized twice which throws an error when using Debug Inspector
- Play Mode can be entered when disabling Adaptive Performance and pressing either the Play Mode button or the keyboard shortcut to enter Play Mode before recompilation leading to errors and warnings thrown
- Parent ListView element also becomes selected when inner ListView element is selected
Add comment