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
- Prefab override popup is cropped/positioned incorrectly when more than one display is used and a higher display Scale is set
- Opening a dropdown on a small screen results in its instant closing when mouse cursor is pressed where the dropdown is going to be opened
- Only "ArgumentNullException: Value cannot be null" is displayed instead of all the actual errors when opening a project with numerous compilation errors
- MultiColumnListView and MultiColumnTreeView do not change selection on first input when focus is set by code
- SerializedProperty.DataEquals is returning false when SerializedProperty.EqualContents return true
Add comment