Search Issue Tracker
Fixed in 2021.1.X
Votes
0
Found in
2020.1.a15
2019.4
2021.1
Issue ID
1280028
Regression
Yes
Assertion failed on expression: 'res == EAGAIN || !HasAbortingErrors()' when importing files with long path
Investigation of the issue revealed that asset db was trying to insert into lmdb database, with a key that was longer that supported length. The key was a file path.
Repro step:
1) Create empty project
2) Added asset which have a path that is longer than 511 bytes
Reproducible with: 2019.4.15f1, 2020.1.15f1, 2020.2.0b13, 2021.1.0a1
While investigating this problem another issue was discovered. Asset db refresh will never end, if a file/folder is close or at file/folder name limit - for such files/folders a meta can't be created. This limit is 255 bytes on all editor platforms.
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
- New Artifact generated for Video when reimporting with identical settings
- “ArgumentOutOfRangeException: Length cannot be less than zero.“ error or “NullReferenceException: Object reference not set to an instance of an object“ error is thrown when CoreUnsafeUtils.FixedBufferStringQueue reads out of bounds
- URPPreprocessBuild.OnPostProcessBuild is never executed when building the Player
- [Linux] Using CTRL+Shift+A shortcut for Add Component throws GUI Rendering Errors
- Crash on MonoBehaviour::Transfer<YAMLRead> when upgrading the Magic Leap XR Plugin
Resolution Note (fix version 2021.1):
Fixed in 2021.1.0a2, while the issue remains, because these are limitations of Windows file path system, we made the error handling better