Search Issue Tracker
Won't Fix
Votes
0
Found in
5.3.3f1
Issue ID
778120
Regression
No
[Android] Building process fails when project includes AssetBundle with a long name
Reproduction steps:(Errors in the Edit)
1) Open users attached project and build for Android platform.
-You should see errors pop up in the console.
2) Shorten AssetBundle name in the StreamingAssets and Build again.
-Build should be successful.
Expected result: Build should go through fine without any errors - as does PC build for example.
Actual result: There are two errors thrown into a console and build process is terminated. (errors differ in 5.3 and 5.4)
Unity could warn users for this bug before trying to build the APK, or, detect when the error happens ("Invalid filename") and mention the known issue.
Note: AssetBundle name consists of around 100 characters.
Workaround: Since names that use over 100 characters are unnecessary and irrational, you could always use shorter ones.
Reproduced with: 5.4.0b9 , 5.3.3p3 , 5.2.4f1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Quest] Pitch Shifter causes audio degradation on Quest 2 devices when sped up
- "GUI Error: Invalid GUILayout" and "NullReferenceException" are thrown when adding Scenes to "Scenes in Baking Set" in Adaptive Probe Volumes
- Inspector window not updating when switching GameObjects in Play Mode while having a VR headset connected
- “UnityException: GetInvalidFilenameChars” errors are thrown, and the Overlay Save Preset button becomes unusable when entering Play Mode with a shortcut while Overlay Save Preset window is opened
- "UnityException: GetName can only be called from the main thread." erors are thrown when the Shortcuts window is opened and entering Play Mode with a shortcut
Add comment