Cannot install web GL module on macs (install failed: Installer encountered an error )

Anyone else having a problem installing the WebGL modules? I tried on my Mac pro 10.8.5 and imac running 10.11 and both times, using the Download Assistant to install only the WebGL module , the install fails and I have no Web GL module loaded.

1 Like

Which version of Unity ? Could you please try again to see if you consistently get this problem ?

I was on an older (5.3.2?) version, upgrading to 5.3.4 now… and i now am able to load WebGL although last night I wasn’t able to see this new version for whatever reason. Thanks!

I am having the same problem while installing WebGL Support
Attaching the install log

Aug 5 23:43:36 MacPro.local Installer[22041]: @(#)PROGRAM:Install PROJECT:Install-920
Aug 5 23:43:36 MacPro.local Installer[22041]: @(#)PROGRAM:Installer PROJECT:Installer-815
Aug 5 23:43:36 MacPro.local Installer[22041]: Hardware: MacPro3,1 @ 3.06 GHz (x 4), 8192 MB RAM
Aug 5 23:43:36 MacPro.local Installer[22041]: Running OS Build: Mac OS X 10.10.1 (14B25)
Aug 5 23:43:36 MacPro.local Installer[22041]: WebGLSupport 5.4.0f3 Installation Log
Aug 5 23:43:36 MacPro.local Installer[22041]: Opened from: /Users/Gautam/Downloads/UnitySetup-WebGL-Support-for-Editor-5.4.0f3.pkg
Aug 5 23:43:47 MacPro.local Installer[22041]: InstallerStatusNotifications plugin loaded
Aug 5 23:43:56 MacPro.local Installer[22041]: ================================================================================
Aug 5 23:43:56 MacPro.local Installer[22041]: User picked Standard Install
Aug 5 23:43:56 MacPro.local Installer[22041]: Choices selected for installation:
Aug 5 23:43:56 MacPro.local Installer[22041]: Install: “WebGLSupport”
Aug 5 23:43:56 MacPro.local Installer[22041]: ================================================================================
Aug 5 23:43:57 MacPro.local Installer[22041]: Configuring volume “MacStorage”
Aug 5 23:43:57 MacPro.local Installer[22041]: Free space on “MacStorage”: 812.95 GB (812948447232 bytes).
Aug 5 23:43:57 MacPro.local Installer[22041]: Create temporary directory “/var/folders/01/gbzcx5yj67g8bcwrmz__zn1r0000gn/T//Install.22041thGKtA”
Aug 5 23:43:57 MacPro.local Installer[22041]: IFPKInstallElement (1 packages)
Aug 5 23:43:57 MacPro.local Installer[22041]: PackageKit: Enqueuing install with framework-specified quality of service (utility)
Aug 5 23:43:57 MacPro.local installd[8269]: PackageKit: ----- Begin install -----
Aug 5 23:44:04 MacPro.local installd[8269]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 “An error occurred while running scripts from the package “UnitySetup-WebGL-Support-for-Editor-5.4.0f3.pkg”.” UserInfo=0x7fe6b9d19ae0 {NSFilePath=./preinstall, NSURL=file://localhost/Users/Gautam/Downloads/UnitySetup-WebGL-Support-for-Editor-5.4.0f3.pkg#TargetSupport.pkg.tmp, PKInstallPackageIdentifier=com.unity3d.WebGLSupport, NSLocalizedDescription=An error occurred while running scripts from the package “UnitySetup-WebGL-Support-for-Editor-5.4.0f3.pkg”.} {
NSFilePath = “./preinstall”;
NSLocalizedDescription = “An error occurred while running scripts from the package \U201cUnitySetup-WebGL-Support-for-Editor-5.4.0f3.pkg\U201d.”;
NSURL = “file://localhost/Users/Gautam/Downloads/UnitySetup-WebGL-Support-for-Editor-5.4.0f3.pkg#TargetSupport.pkg.tmp”;
PKInstallPackageIdentifier = “com.unity3d.WebGLSupport”;
}
Aug 5 23:44:05 MacPro.local Installer[22041]: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
Aug 5 23:44:05 MacPro.local Installer[22041]: IFDInstallController 7100 state = 8
Aug 5 23:44:05 MacPro.local Installer[22041]: Displaying ‘Install Failed’ UI.
Aug 5 23:44:05 MacPro.local Installer[22041]: ‘Install Failed’ UI displayed message:‘The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.’.

1 Like

I had the same problem on OSX.
In my case the solution was to make sure that the correct version was installed below /Applications/Unity !
I am currently running both Unity 4.7 and Unity 5.4 and in my case Unity was setup as a symlink to 4.7.
WebGL installed w.o. any problems once it was the 5.4 version that was below /Applications/Unity
(WebGL installs stuff below /Applications/Unity/PlaybackEngines/WebGLSupport)
Hope this can help someone :wink:
Cheers,
/Thomas

1 Like

shreegj,

I was running into the same problem as you. The issue for me was that I had renamed the Unity folder (as recommended by a class I’m taking) from “Unity” to “Unity 5.4.2”. By renaming it back to “Unity”, the WebGL installer was able to run successfully.

Hope that helps.

17 Likes

Lmao, saved me from downloading a new version.

Hi all,
I facing the same issue, I’m using Unity 2018.2.0f2 with Unity Hub.
Installation failed every time I tried. I thought it was because I had older versions installed so moved them to an other folder but it doesn’t change anything !

@[Marco-Trivellato]( Cannot install web GL module on macs (install failed: Installer encountered an error ) members/marco-trivellato.341252/) have you an option that doesn’t force me to reinstall everything or an other version of Unity ?

Thx
Alex

Same problem with Unity 2017.4.11f1

1 Like

I can’t reproduce the issues with installing you are seeing. Can you be so nice to reproduce the issue again on your machine and then send a bug reporter from the hub so we get the logs for it.

For any future install issues with the hub please refer to the dedicated Unity Hub forum at Unity Engine - Unity Discussions

I managed to install the component using Unity HUB. The problem is with the direct link from the Editor.

3 Likes

I’m having the same issue on Unity 2017.4.24f1 personal version.

4391398--399142--Screen Shot 2019-04-04 at 12.16.52 AM.png

Now that I’m looking closer at the situation I can see the WebGl Support under PlayBackEngines in the unity folder.
For some reason the Build settings window is reporting that “No WebGl Module Loaded.” I’m a bit new to this was wondering if I should move the WebGl support to another location so that Unity see’s it? It will not allow me to select the “Build” as a result.

Unity 2019.1.11
Same Error. Can’t install Web GL module. Downloads fine, but installation fails during the “Validating Files” section.

I faced this problem as well. If you are using a Mac, you can try this:

  1. go to “Application”
  2. create a folder named “Unity”
  3. drag all the stuff under the current version of Unity that you are using into the new “Unity” folder
  4. install the module
  5. drag all the stuff back to the original folder
  6. DONE
    I’ve tried this for a few times and it worked pretty well.
3 Likes

facing the same issue with unity 2019.2.9f1 when installed through the link from editor, trying to install it form the hub hope it works will update if it works that way.

3 Likes

Worked like a charm when installed through the hub

4 Likes

how did you install it through the hub

1 Like

Go to ‘Installs’ → Select a version (click on the 3 dot menu) → Add Modules → WebGL Build Support
Installing through the hub also did the trick for me.

3 Likes

Oh hell yes thank you, going through the hub worked easy for me. Tried everything else on this page, but it was mostly outdated.