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
- Projection matrix is altered when using RasterCommandBuffer.ClearRenderTarget on DX12 and Metal
- Entities Hierarchy window allows Cyclic nesting and throws an “ArgumentException: Cyclic nesting detected” error when dragging a Prefab onto the same Prefab in the Entities Hierarchy
- EnterPlayModeOptions doesn't take effect if user manually modifies m_EnterPlayModeOptionsEnabled to 0
- VFX Graph Documentation dropdown button does nothing when clicked on the right side
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
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.