Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

profiler - unable to take detailed sample of memory on HoloLens / Metro app

Discussion in '5.5 Beta' started by jpltv, Oct 3, 2016.

  1. jpltv

    jpltv

    Joined:
    Oct 21, 2015
    Posts:
    12
    Upon connecting the profiler to a remote device (HoloLens), the "take sample" button in the "detailed" panel of memory profiling reads "take sample: none" (see attached).

    Clicking the button causes a brief frame drop on the device, as if something is being done, but no detailed information appears in the profiler window:

    profiler-sample.png
     
  2. Unity_Wesley

    Unity_Wesley

    Unity Technologies

    Joined:
    Sep 17, 2015
    Posts:
    558
    Hello,

    Can you provide some more detail on the issue please? What build are you using to profile on the HoloLens?

    I can't reproduce the issue.

    Also, there is a HoloLens forum were you can post Hololens related topics.
    https://forum.unity3d.com/forums/hololens.102/

    Thank you,
    Wesley
     
  3. jpltv

    jpltv

    Joined:
    Oct 21, 2015
    Posts:
    12
    I'm using 5.5b7 (originally 5.5b5), hence posting here rather than in the HoloLens forum. Steps to reproduce:

    1) check "development build" (although the profiler attaches even without this checked)
    2) build WSA solution
    3) run on remote target from VS2015
    4) in Unity profiler window, select "active profiler" > "enter IP"
    5) select "Memory" row
    6) change "simple" to "detailed"
    7) click "take sample: none"
     
  4. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,646
    Are you able to see any other data from the profiler? Trying to figure out whether there's a connectivity issue or just the memory profiler not working.
     
  5. Hyp-X

    Hyp-X

    Joined:
    Jun 24, 2015
    Posts:
    432
    Taking remote detailed sample (or remote profiling in general) is broken since Unity 5.4.0p3
    The last good version is Unity 5.4.0p2
    The old editor can be connected to newer 5.4 builds, but I haven't tried it with 5.5 (don't know if the network protocol is still compatible)
     
    MrEsquire likes this.
  6. jpltv

    jpltv

    Joined:
    Oct 21, 2015
    Posts:
    12
    I do see other data from the profiler - all of the graphs are populated with data, and the simple view provides basic statistics. Do you want a screenshot?
     
  7. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,646
    I just tested this on an empty project and it worked for me on 5.5b7:

    upload_2016-10-13_10-46-21.png

    Does it only happen on your project for you? Or can you reproduce it on an empty project?

    I didn't do the profiling on hololens (got no device atm), but I did deploy Windows Store player (the same you'd use for HoloLens) to a remote machine and connected to it from the editor.
     
  8. AlkisFortuneFish

    AlkisFortuneFish

    Joined:
    Apr 26, 2013
    Posts:
    970
    Hm? Not here! Any more information?
     
  9. Hyp-X

    Hyp-X

    Joined:
    Jun 24, 2015
    Posts:
    432
    Most of the current discussion about this issue is on PS4 development forums where this issue was raised.
    Looks like an editor side problem so it's unlikely to be PS4 specific.
    It only happens on relatively high load, so if you see this on an empty project as well that it's likely a different issue.
     
  10. AlkisFortuneFish

    AlkisFortuneFish

    Joined:
    Apr 26, 2013
    Posts:
    970
    You are indeed correct. I tested on a standalone build again and it is indeed broken, sorry.