Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Error at startup: "Could not initialize Home Screen window"

Discussion in 'Editor & General Support' started by Pajaroide, Mar 4, 2015.

  1. Pajaroide

    Pajaroide

    Joined:
    Sep 19, 2012
    Posts:
    34
    So I installed Unity 5, tried to launch it and this error appeared at startup: "could not initialize license activation" so I went I did the manual activation via the website, downloaded the .ulf, etc. and now the message at startup says:
    "Could not initialize Home Screen window"

    I tried everything, reinstalling, uninstalling unity 4 etc. I can't find a solution :(

    Edit: Ok so this only happens in the x64 installer. I can use unity just fine using the 32 bit installer. And yes, I have 64bit Windows :p
     
    Last edited: Mar 13, 2015
    TheCyclops likes this.
  2. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,658
    Is there anything in Editor.log?
     
  3. Pajaroide

    Pajaroide

    Joined:
    Sep 19, 2012
    Posts:
    34
    I forgot to mention I'm on Windows 8.1. Want me to upload the file? Here's the log.

    LICENSE SYSTEM [20150304 13:54:53] No start/stop license dates set
    LICENSE SYSTEM [20150304 13:54:53] Next license update check is after 2015-03-05T18:56:45
    Built from '5.0/release' branch; Version is '5.0.0f4 (5b98b70ebeb9) revision 6002871'; Using compiler version '160040219'
    BatchMode: 0, IsHumanControllingUs: 1, StartBugReporterOnCrash: 1, Is64bit: 1, IsPro: 0
    Initialize mono
    Mono path[0] = 'D:/Software/Unity 5/Unity/Editor/Data/Managed'
    Mono path[1] = 'D:/Software/Unity 5/Unity/Editor/Data/Mono/lib/mono/2.0'
    Mono path[2] = 'D:/Software/Unity 5/Unity/Editor/Data/UnityScript'
    Mono config path = 'D:/Software/Unity 5/Unity/Editor/Data/Mono/etc'
    Using monoOptions --debugger-agent=transport=dt_socket,embedding=1,defer=y
    IsTimeToCheckForNewEditor: Update time 0 current 1425498893
    Could not start up XPCOM from 'D:\Software\Unity 5\Unity\Editor\Gecko.resources/xul.dll'

    (Filename: C:/buildslave/unity/build/Editor/Src/WebViewWindow.cpp Line: 159)
     
  4. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,658
    Try reinstalling Unity, if it will not help, submit a bug, and attach Editor.log to it.

    The last error line in the log says that startup window has failed to initialize, but it's unclear why.
     
  5. Pajaroide

    Pajaroide

    Joined:
    Sep 19, 2012
    Posts:
    34
    Last edited: Mar 4, 2015
  6. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,658
    You could try this, but requires a bit knowledge, my guess xul.dll is missing some of the dependencies on your system.

    Download http://www.dependencywalker.com/ drag xul.dll on it, and see if there are dlls marked as red, in other words missing.
     
  7. Pajaroide

    Pajaroide

    Joined:
    Sep 19, 2012
    Posts:
    34
    A reddit user had the same problem and found this: https://www.reddit.com/r/Unity3D/comments/2xtnxv/could_not_initialize_license_activation_window/
    I'll try it by myself in a sec
     
  8. Pajaroide

    Pajaroide

    Joined:
    Sep 19, 2012
    Posts:
    34
    Ok so according to Dependency Walker and using "xul.dll" on it, it says "Error opening files" from these.

    API-MS-WIN-CORE-KERNEL32-PRIVATE-L1-1-1.DLL
    API-MS-WIN-CORE-PRIVATEPROFILE-L1-1-1.DLL
    API-MS-WIN-SERVICE-PRIVATE-L1-1-1.DLL
    API-MS-WIN-CORE-SHUTDOWN-L1-1-1.DLL
    EXT-MS-WIN-NTUSER-UICONTEXT-EXT-L1-1-0.DLL
    IESHIMS.DLL
     
  9. Pajaroide

    Pajaroide

    Joined:
    Sep 19, 2012
    Posts:
    34
    I tried installing the 32 bit editor and it works, the problem is in the 64bit editor.
     
  10. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,658
    Just out of curiosity, is your Windows 8.1 a 64 bit OS, and not a 32 bit OS, also can you confirm that it's not a
    Windows 8.1 N edition. Just trying to figure out, why would have those dlls missing.
     
  11. Pajaroide

    Pajaroide

    Joined:
    Sep 19, 2012
    Posts:
    34
    Oh, it totally is 64 bit

    and I have Blender x64, Ableton Live 64 bit installed, etc, I don't think it's an N edition, it says "windows 8.1 single language" it's an ASUS laptop.
     
  12. TribalPath

    TribalPath

    Joined:
    Mar 7, 2015
    Posts:
    4
    Pajaroide likes this.
  13. Pajaroide

    Pajaroide

    Joined:
    Sep 19, 2012
    Posts:
    34
    Thank you! But unfortunately it didn't work for me :(
     
  14. TribalPath

    TribalPath

    Joined:
    Mar 7, 2015
    Posts:
    4
    Damn :( well im on windows 7 64bit maybe try to mess around with other visual c++, remove and reinstall btw i removed in the new installation not through control panel uninstal if that could have a difference
     
  15. Rompe

    Rompe

    Joined:
    Mar 10, 2015
    Posts:
    5
    i fix it!!first i dowload Dependency walker, using this program i opened xull.dll archive (you can found it in Unity/Editor/Gecko.Resources), the program will mark in red the dll that you need, you download the missing archives in the same folder that xull and that's all :), in my case i needed msvcr100.dll
     
  16. Pajaroide

    Pajaroide

    Joined:
    Sep 19, 2012
    Posts:
    34
    Hi Rompe, where did you download "msvcr100.dll" from?
     
  17. Rompe

    Rompe

    Joined:
    Mar 10, 2015
    Posts:
    5
    From here
     
    Pajaroide likes this.
  18. Pajaroide

    Pajaroide

    Joined:
    Sep 19, 2012
    Posts:
    34
    In my case, according to dependency walker I need these 3,

    API-MS-WIN-CORE-SHUTDOWN-L1-1-1.DLL
    EXT-MS-WIN-NTUSER-UICONTEXT-EXT-L1-1-0.DLL
    IESHIMS.DLL

    I'll try to get them from other computer, I found out they're normally on C: -> Windows -> SysWOW64
     
    TheCyclops likes this.
  19. TheCyclops

    TheCyclops

    Joined:
    Mar 10, 2015
    Posts:
    2
    Hi guys,
    After following the TribalPath tips, the problem has changed to : "Could not initialize home screen window "
    The 32bit version works perfectly , I only have problems with the 64 .:(
     
  20. Pajaroide

    Pajaroide

    Joined:
    Sep 19, 2012
    Posts:
    34
    Yeah, it's a very annoying problem... I haven't found a solution. Every 64-bit software I have installed for years has worked, only Unity hasn't. Let's hope the Devs pay attention to this thread :S
     
  21. TheCyclops

    TheCyclops

    Joined:
    Mar 10, 2015
    Posts:
    2
    As I am with a new pc , I'll format it and reinstall windows , I read something like this on Reddit... I will see what happens and report to you guys .
     
  22. Rompe

    Rompe

    Joined:
    Mar 10, 2015
    Posts:
    5
    In my case i found the missing dlls with dependency walker and puted it in Gecko.Resources and worked for me :(
     
  23. Cecilie

    Cecilie

    Unity Technologies

    Joined:
    Jul 6, 2012
    Posts:
    83
    I've tried reproducing this issue internally but no luck so far. Could you please submit a bug and pm me the bug ID? Please consider adding as much info as possible - for an example the anti virus you use and if you're using a virtual machine etc.

    @TheCyclops I'd very interested in your results, please share when convenient!

    Here's something to try in the meantime which sometimes automagically fixes hard to repro issues:

    In Windows, open the Registry Editor by typing "regedit" in the search field in the start menu (The "Run" application can also be used and is opened by holding the windows key and pressing "R"):

    "HKEY_CURRENT_USER\Software\Unity Technologies\Unity Editor"

    "HKEY_CURRENT_USER\Software\Unity\UnityEditor"

    "HKEY_CURRENT_USER\Software\Unity\WebPlayer"

    Thanks for your time!
     
  24. mosaicpao

    mosaicpao

    Joined:
    Mar 14, 2015
    Posts:
    1
    I have this same issue. Pretty much tried everything except re-formatting my PC.
    I'm a beginner so this has stumped my tutorial process as I only have 4.5 and the rest of the tutorials requires 4.6 onwards. :(

    @Cecille - Hello. What should I do next after getting getting to the registry editor and doing those things.
     
  25. Cecilie

    Cecilie

    Unity Technologies

    Joined:
    Jul 6, 2012
    Posts:
    83
    @mosaicpao if deleting those folders didn't solve the issue we'll have to keep looking. I've received bugs on the issue and will start investigation and let you know if I find a workaround.

    If any of you find new information please share.
     
  26. Rene-Damm

    Rene-Damm

    Unity Technologies

    Joined:
    Sep 15, 2012
    Posts:
    1,779
    It appears we may have a problem with our installers. They are supposed to install the necessary VC runtimes. We'll check to make sure that is the case.

    In the interim, downloading the VC++ 2010 redistributables for x64 from Microsoft, as suggested here, should solve that.

    These dependencies can be ignored. They are not really missing. The system's link loader will handle them.
     
  27. Rene-Damm

    Rene-Damm

    Unity Technologies

    Joined:
    Sep 15, 2012
    Posts:
    1,779
    Which DLLs were that?
     
  28. Pajaroide

    Pajaroide

    Joined:
    Sep 19, 2012
    Posts:
    34
    I downloaded the VC++ 2010 redistributables for x64 from Microsoft and still didn't work... I mean, I repaired them, uninstalled, reinstalled, etc. Still. :(
     
  29. Rene-Damm

    Rene-Damm

    Unity Technologies

    Joined:
    Sep 15, 2012
    Posts:
    1,779
    Hmm, it could be that there is a separate issue aside from DLL dependencies. In Dependency Walker, the only dependencies flagged red for xul.dll are the ones you listed above? If so, could be that the loading code inside xul.dll is indeed failing for a reason that has nothing to do with dependencies.

    BTW, as a (clunky) workaround, you can enable "Open Last Project on Startup" in the editor preferences to disable the home screen (can be done either with the 32bit editor or by setting the "ReopenLastUsedProjectOnStartup_BLABLA" key in the "Unity Editor 5.x" group in the registry to 1. This should allow the 64bit editor to startup as it won't load Gecko in that case. However, none of the project selection/creation UIs will work (also asset store window) You'd have to use the 32bit editor for that or use the command line (-createProject or -projectpath).

    We'll keep looking into the issue.
     
    Last edited: Mar 27, 2015
  30. Pajaroide

    Pajaroide

    Joined:
    Sep 19, 2012
    Posts:
    34
    Hi @Rene Damm ! Thank you for your help :) This is the list of DLLs with errors (when analyzing xul.dll), but only the last 3 aren't on my computer somewhere deep in Windows folders.

     
    Last edited: Mar 27, 2015
  31. Rene-Damm

    Rene-Damm

    Unity Technologies

    Joined:
    Sep 15, 2012
    Posts:
    1,779
    The problem is that it only finds the 32bit version of the VC++ runtime. In the line for MSVCR100.DLL you can see that it says x86 in red where it should say x64.

    Take the MSVCR100.dll from the x64 VC 2010 runtimes you have installed and put it next to xul.dll. That should resolve the problem.
     
    Last edited: Mar 28, 2015
    Pajaroide likes this.
  32. Pajaroide

    Pajaroide

    Joined:
    Sep 19, 2012
    Posts:
    34
    Oh my gosh, it worked! Thank you. I grabbed MSVCR100.dll from a Microsoft Office folder in the x64 program folders because I didn't know where the VC++ 2010 runtime files were. Either way, it worked. Finally!
     
    Last edited: Mar 28, 2015
  33. hidayat88

    hidayat88

    Joined:
    Jul 9, 2015
    Posts:
    2
    Download the version of 64 bit HERE. Put the msvcr100.dll 64 bit version format into the folder Gecko.resources. Walla! Program is running. I'm using the 5.0.3 version. 5.1.1 Version still got error 0xc00007b.