Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: The path is too long, or a component of the specified path is too long. #1372

Open
mayagibuyuk opened this issue May 30, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@mayagibuyuk
Copy link

Are you on the latest version of AssetRipper?

Yes, I'm on the latest release of AssetRipper.

Which release are you using?

MacOS Arm64

Which game did this occur on?

https://steamdb.info/app/2008510/

Which Unity version did this occur on?

2021.3.25f1

Is the game Mono or IL2Cpp?

Unknown

Describe the issue.

I got this error when trying to export .bundle file :
[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.

Relevant log output

AssetRipper.log

@mayagibuyuk mayagibuyuk added the bug Something isn't working label May 30, 2024
@ds5678
Copy link
Collaborator

ds5678 commented May 30, 2024

I think the file name needs truncated. Even though most operating systems support very long paths, the individual parts must be less than 256 characters.

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

@ds5678
Copy link
Collaborator

ds5678 commented May 30, 2024

However I'm also interested in knowing what this asset is because it's clearly been generated.

@mayagibuyuk
Copy link
Author

mayagibuyuk commented May 31, 2024

Similar asset with the bug one:
z__Gradient_Color_1Tex{ mode 0 colorKeys __{ color _{ r 1 0 g 0 0 b 0 07841873168945313 a 1 0} time 0 0}{ color { r 0 00702186394482851 g 0 0 b 2 670156955718994 a 1 0} time 0 9970855116844177} alphaKeys __{ alpha 1 0
I think it's a LUT texture.

@ds5678
Copy link
Collaborator

ds5678 commented May 31, 2024

Is that a custom thing? I don't recall ever seeing anything like this before.

@mayagibuyuk
Copy link
Author

I think its for something like this but in Unity:
https://tobiasnoller.com/articles/ue4-gradient-mapping-vfx/

@ds5678
Copy link
Collaborator

ds5678 commented Jun 1, 2024

I was hoping for a link to the exact thing used in this project.

@mayagibuyuk
Copy link
Author

Sorry I don't know, the link above is just my guess.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants