Search Unity

Lots of dlls loaded on some event

Discussion in 'VR' started by MrMatthias, Oct 7, 2016.

  1. MrMatthias

    MrMatthias

    Joined:
    Sep 18, 2012
    Posts:
    191
    a lot of dlls get loaded after selecting a UnityEngine.UI.Button, which makes the HoloLens freeze for some seconds
    Here is the log output: http://pastebin.com/dQXbYSmL
     
  2. Unity_Wesley

    Unity_Wesley

    Unity Technologies

    Joined:
    Sep 17, 2015
    Posts:
    558
    Hello,

    Can you provide a little more information about what is happening in the scene? Unsure if you are using something in a script or if your using the HoloLens Input Module.

    Thank you,
    Wesley
     
  3. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
    The reason for the freeze is because VS pauses the game while trying to decided whether it wants to load symbols or not. You won't see any freezes if you run without VS attached.
     
  4. MrMatthias

    MrMatthias

    Joined:
    Sep 18, 2012
    Posts:
    191
    Hi, thanks for your answer. I happens during a Release Build and disconnected debugger too. I have a UI and it happens on the second time you tap a UI.Button using the holo Input Module
     
  5. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
    If the hang happens without a debugger attached, it isn't due to loading DLL symbols. Use profiler to see what's it's doing during the hang.