Current installation UE 4.11 does not create an .emscripten file under required folder (C:\Program Files\Epic Games\4.10\Engine\Intermediate\Build\HTML5). This causes the packaging to crash on start. Also, any existing file with the same name gets deleted.
Is there a way to solve this problem before a hotfix, as this is a breaking issure?
creating the file by hand and marking it as read only also causes a problem with UE4: ERROR: System.UnauthorizedAccessException: Access to the path 'C:\Program Files\Epic Games\4.11\Engine\Intermediate\Build\HTML5\.emscripten' is denied.
Thank you for bringing these issues to our attention. I have attempted to package a blueprint blank template with starter content on 4.11. I did not encounter any of the errors you have provided. Could you please explain exactly what you’re doing and also include the full output error logs as a .txt file?
We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.
i’m reoppening the post.
sorry for this late late reply, but the error is still ongoing with the lates 4.12 version. I’ve uploaded a project to [https://github.com//ue4-v12-emcc-bug][1] for checking. This project is a simple top-down with simple object modifications made in editor and nothing more. Yet I’m still having this error:
ERROR: System.IO.FileNotFoundException: Could not find file 'C:\Program Files\Epic Games\4.12\Engine\Intermediate\Build\HTML5\.emscripten'.
The project was created in 4.10.4 and upgraded to 4.12.4.
Emscripten should be set up by default with your version of the engine 4.12.4.
I packaged your project without the json plugin that you have attached to your project. Have you tried deactivating it and seeing whether or not that allowed you to package for HTML5?
Are your browsers showing up when you click on the downward arrow beside launch for launching onto a browser?
json plugin has no effect on the situation, disabled or not. I’m able the produce the error on all windows machines on this floor (currently there are 6 only I have the json plugin installed to engine).
i think the problem shows itself if multiple engines are installed on the same machine.
as 4.9 needed emcc installed seperately, most of the pcs also had a 1.30 installed on somewhere, however uninstalling the rogue emscripten did not solve the problem either.
after installing 4.10, 4.11 it might be possible that 4.12 does not like this much emccs around and might be conjuring up some wrong directory for writing/reading what needs to be created/read.
in short, nothing gets compiled or cooked, cannot write/read .emscripten error appears and command ends.
I’m adding another log for Microsoft’s process monitor. You can see what is going on here. There is no write command for the .emscripten file, only delete and read.
[Process Monitor Log File][1]
[You can download process monitor from ms’s this link][2].
and EM_CONFIG location is specified system environments. Removing the environment variable solved the file creation problem. However, another emcc compile error appears now, which I think needs its own bug report.
Have you tried deleting your Intermediate file and seeing if that resolves all issues combined? As a test, I deleted mine and made sure I could still package without any issues - all went well.
I also have this issue. I wanted to package an HTML5 demo of my marketplace plugin, but I can’t even build the plugin for HTML5. Using the automation tool with the BuildPlugin command fails with the exact same missing .emscripten file error. My plugin and associated project build and package fine for all other platforms.