Search Issue Tracker
Fixed in 2021.1.X
Fixed in 2018.4.X, 2019.4.X, 2020.2.X
Votes
0
Found in
2018.4
2020.2.0b7
2021.1
Issue ID
1286554
Regression
No
Directory.GetFiles() ignores "." symbol when built with IL2CPP
Reproduction steps:
1. Download and open the submitted project "directory_get_files.zip"
2. Build and run the project
Expected result: "/AAA" and "/AAA.file" are printed
Actual result: "/AAA", "/AAA.file", "/AAAB" and "/AAABC" are printed
Reproducible with: 2018.4.29f1, 2019.4.15f1, 2020.1.15f1, 2020.2.0b13, 2021.1.0a7
Reproduces on:
VLNQA00012, Samsung Galaxy S6 (SM-G920F), Android 7.0, CPU: Exynos 7 Octa 7420, GPU: Mali-T760
----------, Samsung Galaxy S9 (SM-G960F), Android 10, CPU: NOT FOUND, GPU: Mali-G72
VLNQA00321, Xiaomi MI 9 (MI 9), Android 9, CPU: Snapdragon 855 SM8150, GPU: Adreno (TM) 640
iPhone 6S (iOS 13.3.1)
MacOS Standalone
Does not reproduce on:
Windows Standalone
The following code causes the issue:
void Start()
{
Create("AAA");
Create("AAA.file");
Create("AAAB");
Create("AAABC");
string persitentPath = Application.persistentDataPath;
var files = Directory.GetFiles(persitentPath, "AAA.*");
}
Notes:
The issue does not reproduce when using Mono scripting backend.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Fixing Message Loss in UMPE During Domain Reload
- The Editor freezes when ScheduleReadOnly of IJobParallelForTransform with dependency is used
- Text is truncated in the Inspector when the display scale is set to 150%
- CancellationTokenSource(<timeout>) has incorrect cancellation status when used in WebGL Player
- VFX property value names are cut off when properties with 'Arc' are viewed in the VFX Blackboard
Add comment