GithubHelp home page GithubHelp logo

Comments (11)

github-actions avatar github-actions commented on June 16, 2024

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.

ds5678 avatar ds5678 commented on June 16, 2024

It seems like I'm missing a call to FileUtils.RemoveInvalidCharacters.

from assetripper.

ds5678 avatar ds5678 commented on June 16, 2024

It seems like I'm missing a call to FileUtils.RemoveInvalidCharacters.

Actually, I think this part is fine.

from assetripper.

ds5678 avatar ds5678 commented on June 16, 2024

https://learn.microsoft.com/en-us/windows/win32/msi/filename

I think the problem is the commas and square brackets.

from assetripper.

ds5678 avatar ds5678 commented on June 16, 2024

For extra safety, I think we should also exclude ascii control characters in the regex.

from assetripper.

ds5678 avatar ds5678 commented on June 16, 2024

https://stackoverflow.com/questions/1976007/what-characters-are-forbidden-in-windows-and-linux-directory-names

from assetripper.

mayagibuyuk avatar mayagibuyuk commented on June 16, 2024

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
image
AssetRipper.log

from assetripper.

ds5678 avatar ds5678 commented on June 16, 2024

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.

ds5678 avatar ds5678 commented on June 16, 2024

https://en.wikipedia.org/wiki/Comparison_of_file_systems#Limits

from assetripper.

ds5678 avatar ds5678 commented on June 16, 2024

Anyway, please make a new issue. This one has been resolved.

from assetripper.

mayagibuyuk avatar mayagibuyuk commented on June 16, 2024

got it!

from assetripper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.