Search Unity

Question What is ProcessRemoteInput Send messages in Profiler ?

Discussion in 'Android' started by Kosho206, Dec 5, 2020.

  1. Kosho206

    Kosho206

    Joined:
    Jul 8, 2020
    Posts:
    2
    The load was heavy when running the game, so I checked the profiler.
    So I checked the profiler and found that the load was caused by ProcessRemoteInput's Send messages.
    But I don't know what these Send messages represent.

    What kind of messages are these Send messages?
    Also, what causes the load of this Send messages to go up?

    The load-heavy issue occurred when using Unity Remote 5.
    Only when showing the game screen to an Andorid device using Unity Remote 5, the load on Send messages is high and the game is choppy.
    When not using Unity Remote 5, this issue does not occur.

    Translated with www.DeepL.com/Translator (free version)
     

    Attached Files:

    • a.png
      a.png
      File size:
      1.7 MB
      Views:
      313
  2. MartinTilo

    MartinTilo

    Unity Technologies

    Joined:
    Aug 16, 2017
    Posts:
    2,457
    Unity Remote needs to send images and input back and forth between the phone and the Editor. The resulting overhead makes Unity Remote less than ideal for aperformant game experience in most cases, but the point of it is more to allow faster iteration while developing for mobile. To check the performance of your game, don't use Unity Remote but make a build.
     
    iriegusto likes this.
  3. Kosho206

    Kosho206

    Joined:
    Jul 8, 2020
    Posts:
    2

    Thank you.

    I see that it is normal for performance to decrease when using Unity Remote 5.
    I thought there was a problem with my game because of the significant performance degradation when I used Unity Remote 5.
    Also, when I set Project Setting > Editor > Resolution to "Downsize", I was able to get the game screen to Unity Remote 5 with enough performance that it didn't interfere with debugging.

    Thank you for answering this rudimentary question in a thoughtful manner.
     
    iriegusto and MartinTilo like this.
  4. iriegusto

    iriegusto

    Joined:
    Nov 21, 2020
    Posts:
    20
    MartinTilo likes this.