Search Issue Tracker
Fixed in 2020.2.X
Votes
1
Found in
2017.4.0f1
2018.3.0a1
2019.1.0a1
2019.1.0a12
2019.2.0a1
2019.3.0a1
Issue ID
1153840
Regression
No
AssetDatabase.IsValidFolder returns false when the end of the path string contains a directory separator slash
How to reproduce:
1. Open tester-submitted project (pathSlash)
2. Open SampleScene scene
3. Enter Play Mode
Expected result: AssetDatabase.IsValidFolder returns 'true' for "Assets/" and "Assets\"
Actual result: AssetDatabase.IsValidFolder returns 'false' for "Assets/" and "Assets\"
Reproducible with: 2017.4.27f1, 2018.4.0f1, 2019.1.3f1, 2019.2.0b2, 2019.3.0a3
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
- Crash on [NSApplication endModalSession:] when saving while Play Mode is loading
- Incorrect Preferred Height calculation when a single text line uses different Font Assets
- [ShaderGraph] Redo Collapse Nodes action does not fully collapse the Nodes
- [Ubuntu] Mouse cursor is set box select mode after exiting VFX Graph's Rename Context function
- Unrecognized identifier DECLARE_STACK_CB error is thrown when VirtualTexture Property is used with Custom RenderTexture target
Resolution Note (fix version 2020.2):
Fixed in 2021.1.0a2