Comments (11)
Thank you for submitting your first issue here. Please be sure you have uploaded your AssetRipper.log
file. It is in the same folder as the exe file. :)
from assetripper.
It seems like I'm missing a call to FileUtils.RemoveInvalidCharacters
.
from assetripper.
It seems like I'm missing a call to
FileUtils.RemoveInvalidCharacters
.
Actually, I think this part is fine.
from assetripper.
https://learn.microsoft.com/en-us/windows/win32/msi/filename
I think the problem is the commas and square brackets.
from assetripper.
For extra safety, I think we should also exclude ascii control characters in the regex.
from assetripper.
from assetripper.
This bug still happen in the newest version(1.0.15.0), I checked it on both window x64 and mac armx64. Its look like all other file with the similar file name were export successfully but the file with this name cause issue: z__Gradient_ColorTex{"mode"0"colorKeys"__{"color"{"r"0.6037735939025879"g"0.6037735939025879"b"0.6037735939025879"a"1.0}"time"0.0}{"color"{"r"0.8301886916160584"g"0.8301886916160584"b"0.8301886916160584"a"1.0}"time"_0.440_100.png.meta
AssetRipper.log
from assetripper.
This bug still happen in the newest version(1.0.15.0)
It doesn't.
[Error] : System.IO.PathTooLongException: The path '/Users/meenoi/Downloads/pls/ExportedProject/Assets/Texture2D/z__Gradient_ColorTex{"mode"_0_"colorKeys"__{"color"_{"r"_0.6037735939025879_"g"_0.6037735939025879_"b"_0.6037735939025879_"a"_1.0}_"time"_0.0}_{"color"_{"r"_0.8301886916160584_"g"_0.8301886916160584_"b"_0.8301886916160584_"a"_1.0}_"time"_0.440_100.png.meta' is too long, or a component of the specified path is too long.
at Interop.ThrowExceptionForIoErrno(Interop.ErrorInfo, String, Boolean) + 0x1c
at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String, Interop.Sys.OpenFlags, Int32, Boolean, Boolean&, Func`4) + 0x1a8
at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String, FileMode, FileAccess, FileShare, FileOptions, Int64, UnixFileMode, Int64&, UnixFileMode&, Boolean, Boolean&, Func`4) + 0x164
at System.IO.Strategies.OSFileStreamStrategy..ctor(String, FileMode, FileAccess, FileShare, FileOptions, Int64, Nullable`1) + 0x98
at System.IO.FileStream..ctor(String, FileMode, FileAccess, FileShare, Int32, FileOptions, Int64) + 0x98
at AssetRipper.Export.UnityProjects.ExportCollection.ExportMeta(IExportContainer, Meta, String) + 0x64
at AssetRipper.Export.UnityProjects.AssetExportCollection`1.Export(IExportContainer, String) + 0x170
at AssetRipper.Export.UnityProjects.ProjectExporter.Export(GameBundle, CoreConfiguration) + 0x19c
at AssetRipper.Export.UnityProjects.ExportHandler.Export(GameData, String) + 0x1a0
at AssetRipper.GUI.Web.Pages.Commands.Export.<AssetRipper-GUI-Web-Pages-ICommand-Execute>d__0.MoveNext() + 0x144
--- End of stack trace from previous location ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x24
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x100
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task, ConfigureAwaitOptions) + 0x68
at AssetRipper.GUI.Web.Pages.Commands.<HandleCommand>d__6`1.MoveNext() + 0xc4
--- End of stack trace from previous location ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x24
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x100
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task, ConfigureAwaitOptions) + 0x68
at AssetRipper.GUI.Web.ErrorHandlingMiddleware.<InvokeAsync>d__0.MoveNext() + 0xb4
Path too long is completely different from the error that caused this issue to be opened.
from assetripper.
https://en.wikipedia.org/wiki/Comparison_of_file_systems#Limits
from assetripper.
Anyway, please make a new issue. This one has been resolved.
from assetripper.
got it!
from assetripper.
Related Issues (20)
- [Bug]: System.IndexOutOfRangeException: Index was outside the bounds of the array. HOT 2
- [Bug]: Crash when opening certain Mordheim asset bundles HOT 2
- Display Size on Resource Page
- [Bug]: Duplicated TerrainData
- [Bug]: Lz4HC Decompression Failed for Whiteout Survival HOT 4
- [Bug]: Problem with the Unity version 2022.1.16f1 HOT 2
- How to extract Naraka? HOT 1
- [Enhancement]: Export with Filters HOT 2
- [Bug]: Unable to open any files from Arena of Valor game HOT 4
- [Possible Bug]: When the asset name conflicts, exported `png` and `asset` doesn't match HOT 10
- [Bug]: Brilliant Diamond Error HOT 4
- [Bug]: The path is too long, or a component of the specified path is too long. HOT 7
- [Enhancement]: YooAsset Support HOT 2
- [Bug]: Files use the 'Unknown' scripting backend. HOT 2
- [Bug]: Segmentation fault while trying to unpack unity crunch HOT 3
- [Question]: Editor crashes after going into playmode HOT 2
- [Bug]: System Overflow HOT 1
- [Bug]: Deserialization failed for `AssetRipper.Mining.PredefinedAssets.Mesh` HOT 1
- [Bug]: System Expection file nor directory doesn't exist HOT 1
- [Bug]: gets errors when exporting sprites as texture img files. (no error when exporting as yaml asset) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from assetripper.