COMMUNITY

Listing files in Windows?

Hi,
When I use:

FileSystem.readDirectory('path/to/dir');

I get back an array of the correct size with empty strings instead of file names.
Is there any way to debug this?
I tried several directories and it always has the correct number of items with no names.

I am using Haxe cpp native in Windows 10 with Openfl.