lime: [cpp-windows] Lime randomly fails to preload the `default` asset library

This seems to happen randomly when I try building for windows, where the code compiles but when the application starts it gives the follwing error: image

Lime Version: 8.1.1 Hxcpp Version: 4.3.2

Steps to reproduce: It doesn’t happen consistently but for any given lime project if it does happen once then it happens on every re-compilation (even if you run lime clean windows and re-compile) I used the command lime create HelloWorld <my-test-project-name> to create the project, and the code I used is in the zip file below: Testing3DStuff2.zip Upon building and running with lime test windows -debug, it gives me the above error.

Additionally, if I move the generated “bin/” directory to a different location, then the executable works without any problems, which was pretty weird.

Video showcasing the compilation:

https://github.com/openfl/lime/assets/83609901/cc6f344b-c7b3-4d72-ba19-21f5d4d642a5

This only seems to happen when compiling to windows, I tested with html5 and it worked perfectly fine

About this issue

  • Original URL
  • State: closed
  • Created 7 months ago
  • Comments: 20 (20 by maintainers)

Most upvoted comments

Thanks for your help!