Limited number of files in assets folder

Is there a limit in number of files in assets folders ?
I have a subfolder in assets folder:

assets/scenes/

and in it about 300 files. When I build my project I get en error:

Called from ? line 1
Called from CommandLineTools.hx line 1328
Called from CommandLineTools.hx line 25
Called from CommandLineTools.hx line 125
Called from CommandLineTools.hx line 1201
Called from project/ProjectXMLParser.hx line 20
Called from project/ProjectXMLParser.hx line 52
Called from project/ProjectXMLParser.hx line 1650
Called from project/ProjectXMLParser.hx line 1185
Called from project/ProjectXMLParser.hx line 535
Called from project/ProjectXMLParser.hx line 662
Called from project/ProjectXMLParser.hx line 658
Called from /usr/lib/haxe/std/neko/_std/sys/FileSystem.hx line 63
Called from /usr/lib/haxe/std/neko/_std/sys/FileSystem.hx line 54
Uncaught exception - std@sys_file_type

But when number of files in assets/scenes/ is about 10, project builds fine.

From the error it doesn’t look like the number of files is the problem,
try the command with -verbose maybe you’ll be able to see which file creates the problem.

Yeah, please do a -verbose build so we can try and track it down :slight_smile:

Just FYI , we had a similar issue here on a 32bits Linux computer.
The error was tracked down to the function where you compute a Hash code to print under openfl ASCII code when you run :

haxelib run openfl
There’s an Int to Float casting process which leads to some trouble for Neko…

I’ll supply a fix for that later eventually.