Hello mighty UE4 HUB,
I thought I’d find the answer within topics that are similar to mine, but instead I made it worse and now I’m here with my question.
First I want to point out that I’m total beginner in coding and only started using UE4 two weeks ago, so please be gentle.
So, my question.
When I start a new project weather it is a C# blank or FPS project with or without starter content, I’ll configure the projects settings: Packaging - shipping (tick the "for distribution), check that “All platforms” are selected, add Heap size (as some suggested in this Hub), check that under device manager Chromium and are listed (they are).
When all this is done, here is where the fun starts. when I first did some packaging tests everything went smoothly, while pressing compile, no errors were detected. Packaged the project, no errors. When launching up the the launchHelper and the html file at first it worked, when I uploaded to my server i got and SyntaxError.Unexpected Token ILLEGAL with both browsers. Then i dug a little in the Hub and found many different approaches, and here is where i lost track of my original setting for everything.
Now i’m getting and error while pressing compile - Info ERROR: Couldn’t find target rules file for target ‘-canskiplink’ in rules assembly ‘TestModuleRules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null’.
I’v tried with upgrading my emscripten to 1.34.1 and tried with 1.25.0 and they both gave me Uncaught RangerErrors or TypeError: abortDecorators is undefined. So i put back the 1.29.0 and then that one started giving the same error.
My HTML5Engine.ini set-up:
[Audio]
AudioDeviceModuleName=HTML5Audio
[OnlineSubsystemMcp]
benabled=false
[SystemSettings]
r.setres=800x600
[BuildSettings]
HeapSize=1024
[HTML5DevicesWindows]
(64 bit)=“C:/Program Files//firefox.exe”
(32 bit)=“C:/Program Files (x86)//firefox.exe”
Firefox (32 bit)=“C:/Program Files (x86)/Mozilla Firefox/firefox.exe”
Firefox Aurora (32 bit)=“C:/Program Files (x86)/Aurora/firefox.exe”
Chrome=“C:/Program Files (x86)//Chrome/Application/chrome.exe”
;all browsers on mac are 64 bit, 64 bit browsers can allocate more than 512MB of memory to around 1.5 GB.
[HTML5DevicesMac]
Safari=“/Applications/Safari.app/Contents/MacOS/Safari”
Firefox=“/Applications/Firefox.app/Contents/MacOS/firefox-bin”
Firefox (Aurora)=“/Applications/FirefoxAurora.app/Contents/MacOS/firefox-bin”
[HTML5DevicesLinux]
Firefox=“/usr/bin/firefox”
[HTML5SDKPaths]
Mac=“/path/to/emscripten/sdk”
Emscripten=“C:/Program Files/Emscripten/emscripten/1.29.0”
Python=“C:/Python27”
So, my question is, where and what am I doing wrong or what is missing?
Thank you for your time,
Kaupo