Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

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

Discussion in 'Web' started by zonoscope, May 19, 2016.

  1. zonoscope

    zonoscope

    Joined:
    Jul 10, 2014
    Posts:
    7
    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.
     
    tristen422 likes this.
  2. Marco-Trivellato

    Marco-Trivellato

    Unity Technologies

    Joined:
    Jul 9, 2013
    Posts:
    1,654
    Which version of Unity ? Could you please try again to see if you consistently get this problem ?
     
  3. zonoscope

    zonoscope

    Joined:
    Jul 10, 2014
    Posts:
    7
    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!
     
    Last edited: May 19, 2016
  4. shreegj

    shreegj

    Joined:
    Aug 5, 2016
    Posts:
    1
    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.'.
     
    tristen422 likes this.
  5. thp

    thp

    Joined:
    Dec 12, 2014
    Posts:
    1
    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 ;-)
    Cheers,
    /Thomas
     
    H_LF4 likes this.
  6. foozao

    foozao

    Joined:
    Nov 12, 2016
    Posts:
    1
    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.
     
  7. hahahpizza

    hahahpizza

    Joined:
    Sep 9, 2015
    Posts:
    11
    Lmao, saved me from downloading a new version.
     
  8. DVFrance

    DVFrance

    Joined:
    Jul 9, 2012
    Posts:
    20
    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 have you an option that doesn't force me to reinstall everything or an other version of Unity ?

    Thx
    Alex
     
  9. diego_mp

    diego_mp

    Joined:
    Jun 12, 2017
    Posts:
    23
    Same problem with Unity 2017.4.11f1
     
    RedPandaRevolt likes this.
  10. Schubkraft

    Schubkraft

    Unity Technologies

    Joined:
    Dec 3, 2012
    Posts:
    1,070
    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 https://forum.unity.com/forums/unity-hub.142/
     
  11. diego_mp

    diego_mp

    Joined:
    Jun 12, 2017
    Posts:
    23
    I managed to install the component using Unity HUB. The problem is with the direct link from the Editor.
     
  12. RedPandaRevolt

    RedPandaRevolt

    Joined:
    Apr 4, 2019
    Posts:
    2
    I'm having the same issue on Unity 2017.4.24f1 personal version.
     

    Attached Files:

  13. RedPandaRevolt

    RedPandaRevolt

    Joined:
    Apr 4, 2019
    Posts:
    2
    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.
     
  14. unity_wZZdvZk5N-740g

    unity_wZZdvZk5N-740g

    Joined:
    Jun 29, 2019
    Posts:
    1
    Unity 2019.1.11
    Same Error. Can't install Web GL module. Downloads fine, but installation fails during the "Validating Files" section.
     
  15. s3816077

    s3816077

    Joined:
    Oct 11, 2019
    Posts:
    1
    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.
     
    TATOAO, blueken and NomiMalik like this.
  16. pikachuxxx

    pikachuxxx

    Joined:
    Jan 22, 2019
    Posts:
    17
    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.
     
    antpap, Deleted User and mekartikshah like this.
  17. pikachuxxx

    pikachuxxx

    Joined:
    Jan 22, 2019
    Posts:
    17
    Worked like a charm when installed through the hub
     
  18. adamminecraftman

    adamminecraftman

    Joined:
    May 18, 2019
    Posts:
    3
    how did you install it through the hub
     
    Deleted User likes this.
  19. ElZorroPolar

    ElZorroPolar

    Joined:
    Jan 25, 2020
    Posts:
    1
    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.
     
  20. bendyreese

    bendyreese

    Joined:
    Apr 3, 2020
    Posts:
    1
    Oh hell yes thank you, going through the hub worked easy for me. Tried everything else on this page, but it was mostly outdated.
     
  21. JeremyB0B

    JeremyB0B

    Joined:
    Apr 25, 2020
    Posts:
    1
    Same problem as everyone else on v2017.4.39f1.
    Tried from Hub instead (After closing unity and the hub and reopening it)
    Got an error with hub install, but when I reopened the hub, I could actually use it.
    Thanks @diego_mp.
     
  22. BinojBI

    BinojBI

    Joined:
    Aug 31, 2018
    Posts:
    1
    If you download correct version of webGL support you need to choose destination folder as your unity installed folder. for my case, Documents -> 2019.2.7f2. Then it will be install correctly.
     
  23. cmorla

    cmorla

    Joined:
    Apr 30, 2020
    Posts:
    1
    I am having the same issue, but none of the solutions provided work.

    I am forced to use version 2019.1.8f for the solar system project per instructor instructions. Which means, I couldn't add editor from hub, but had to add from the website. Not downloading from hub directly prevents me from being able to add module on editor install icon in hub.

    I made sure my webgl package was the same version as my editor and in the same folder. Every time I install package, I get the same error others do.

    I don't know what else to do. I could uninstall 2019.1.8f from my computer and go through editor install and setup again and make sure to add all modules with it.

    Any thoughts/solutions?
     
  24. gabrielh92

    gabrielh92

    Joined:
    Apr 28, 2020
    Posts:
    4
    Hello - I'm encountering the issue with installing as well. I got the .pkg installer from the build settings menu and the version matches my Unity version as 2019 .3.11f1. I've tried multiple locations for the installer, moved Unity from shared to my user's Applications folder, everything is in a Unity/Hub/Editor/2019.3.11f1/ folder, and still nothing. I get no specific output message, even through the CLI. I'm running 10.12.6 (Sierra), so maybe that's related? I would appreciate at least a more specific error message in the future to give some guidance. Thanks!
     
  25. GerardQ

    GerardQ

    Joined:
    Oct 15, 2011
    Posts:
    68
    Same here on Mac 10.13.6. Cannot install WebGL support.
     
    una_Deng likes this.
  26. una_Deng

    una_Deng

    Joined:
    May 17, 2020
    Posts:
    1
    me too
     
  27. CeceliaCD

    CeceliaCD

    Joined:
    Sep 12, 2020
    Posts:
    1
    Hello-I'm having this same issue with installing the WebGL Support on my Mac 10.15.6. I've been trying to install the 2019.1.3 and also the latest 2019.4.10 for my computer graphics class.
     
  28. haleyrp1803

    haleyrp1803

    Joined:
    Feb 2, 2020
    Posts:
    1
    This worked for me, too. Thanks!