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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Add comment