Construct 2 renames all project files to lowercase on export. Referring to them by name (not by Request project file), such as when loading web fonts therefore doesn't work.
Attach a Capx
Description of Capx
Loads a .css project file by name, the file uses uppercase letters. It works as intended during preview, but breaks after export, because the code is still referring to it as "MySuperStylesheet.css" while it was renamed to "mysuperstylesheet.css" during export.
Note: some servers may be configured to be case-insensitive. However, Android Cordova build is not one of them.
Steps to Reproduce Bug
- Open the .capx attached.
- Run a preview. Observe the style of the button.
- Export the project.
- Run the exported project. Observe missing style of the button.
Construct 2 renames the project file to lowercase on export. Therefore, the requested file is not found. The style falls back to no special styling.
Construct 2 should not rename files on export OR should rename them on import and notify the user about the change.
Operating System and Service Pack
Windows 10, Windows 7
Construct 2 Version ID