Search Issue Tracker
Fixed in 2019.3.X
Votes
0
Found in
2017.3.0a1
2018.1.9f2
2018.3.0a1
2019.1.0a1
2019.2.0a1
Issue ID
1115524
Regression
No
File operations fail when relative path is longer than MAX_PATH, but its absolute path is shorter than MAX_PATH
How to reproduce:
1. Open user's attached project
2. Enter play mode
Expected result: File gets created in "Assets/" + 32x("../Assets/") + "test.unity3d"
Actual result: Operation fails and prints our the error
Reproducible with: 2017.4.18f1, 2018.3.3f1, 2019.1.0a14, 2019.2.0a1
Workaround: use fileInfo.FullName as path for BuildAssetBundle()
Errors:
- Assertion failed on expression: 'm_ManagersToReset.empty()'
UnityEditor.BuildPipeline:BuildAssetBundle(Object, Object[], String, BuildAssetBundleOptions, BuildTarget)
LongPathName:Start() (at Assets/Scripts/LongPathName.cs:31)
- Failed to replace file Assets/../Assets/../Assets/../Assets/../Assets/../Assets/../Assets/../Assets/../Assets/../Assets/../Assets/../Assets/../Assets/../Assets/../Assets/../Assets/../Assets/../Assets/../Assets/../Assets/../Assets/../Assets/../Assets/../Assets/../Assets/../Assets/../Assets/../Assets/../Assets/../Assets/../Assets/../Assets/../Assets/test.unity3d
UnityEditor.BuildPipeline:BuildAssetBundle(Object, Object[], String, BuildAssetBundleOptions, BuildTarget)
LongPathName:Start() (at Assets/Scripts/LongPathName.cs:31)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- A submenu disappears on MacOS when the MenuItem method argument "isVariableFunction" is set to "false" and priority argument is set to "-1"
- The Sprite Library Editor window has an incorrect order of Sprites when the Sprites are reordered and the order saved
- Tilemap Tiles do not get lit up unless the Light Range is greater than the distance between the position of the Tile before the transformation and the Light Source when the Tile is transformed with Tilemap.SetTransformMatrix method
- The Editor and "Reloading Domain" windows are frozen when entering Play Mode
- Crash when attempting to create a custom FMOD DSP unit
Add comment