Search Issue Tracker
Won't Fix
Won't Fix in 2020.3.X
Votes
0
Found in
2020.3.44f1
Issue ID
UUM-22229
Regression
No
Building an App Bundle fails with “DirectoryNotFoundException" when the project contains an asset bundle put in a path with at least 217 characters
How to reproduce:
1. Open the user’s attached “Client.zip“ project
2. Build the “SampleScene“ Scene for Android
3. Observe the Console
Expected result: There are no errors in the Console window and the aab file is generated successfully
Actual result: “DirectoryNotFoundException: Could not find a part of the path ""“ error appears and the aab file isn't generated
Reproducible with: 2020.2.0b3, 2020.3.44f1
Not reproducible with: 2021.1.0a1, 2021.3.16f1, 2022.2.2f1, 2023.1.0a25
Note: App Bundle builds successfully if a path contains 216 characters
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note:
The issue is actually caused by a long file path issue. The given bundle path is greater than 255 characters, which is why Windows is unable to find the bundle.
There are bundle naming modes on the Group settings that can be used to mitigate this issue.
Resolution Note (2020.3.X):
The issue is actually caused by a long file path issue. The given bundle path is greater than 255 characters, which is why Windows is unable to find the bundle.
There are bundle naming modes on the Group settings that can be used to mitigate this issue.