Search Unity

  1. Unity 2019.1 beta is now available.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. We're looking for insight from anyone who has experience with game testing to help us better Unity. Take our survey here. If chosen to participate you'll be entered into a sweepstake to win an Amazon gift card.
    Dismiss Notice
  4. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  5. Unity 2018.3 is now released.
    Dismiss Notice
  6. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

Editor player performance get worse for each version

Discussion in 'General Discussion' started by AndersMalmgren, Jul 12, 2018.

  1. AndersMalmgren

    AndersMalmgren

    Joined:
    Aug 31, 2014
    Posts:
    3,619
    In 2017 playing our game in the editor worked ok. Very few frame drops, and the few that were was only a frame.

    In 2018.1 and more so in 2018.2 this got much, much worse. So much that SteamVR decicedes to go back to SteamVR home screen (it happens if you lose 4 or more frames I think).

    You guys experience the same?
     
  2. Peter77

    Peter77

    Joined:
    Jun 12, 2013
    Posts:
    3,130
    Nope, editor performance seems to be OK here. Did you fire up the Profiler to check what is causing the drop in performance?
     
  3. AndersMalmgren

    AndersMalmgren

    Joined:
    Aug 31, 2014
    Posts:
    3,619
    It could be relelated to VR (SteamVR, Single pass instanced etc). I will profile more its just something I have reflected over while upgrading our game from 2017 to 2018 and now 2018.2 it got even worse. It's only the editor it's fine in built (though I should bench 2017.4.6 Vs 2018.2 in built too)
     
  4. Peter77

    Peter77

    Joined:
    Jun 12, 2013
    Posts:
    3,130
    2018.2 is also slower than 2018.1 with my project, but I tested a Windows Standalone build, not sure about the editor.
     
  5. AndersMalmgren

    AndersMalmgren

    Joined:
    Aug 31, 2014
    Posts:
    3,619
    Have you identified what's slower ?
     
  6. Peter77

    Peter77

    Joined:
    Jun 12, 2013
    Posts:
    3,130
    It's probably Physics/Rigidbody/Collider related. I was able to reproduce it in an isolated project that just rotates a few objects with attached Colliders and Rigidbodies.
     
    AndersMalmgren likes this.
  7. AndersMalmgren

    AndersMalmgren

    Joined:
    Aug 31, 2014
    Posts:
    3,619
    Nice find hope they find and fix it. Our game is very physics driven but we only have a few bodies active at a time, it seems you need several hundred in your video to get those 0.8
     
  8. AndersMalmgren

    AndersMalmgren

    Joined:
    Aug 31, 2014
    Posts:
    3,619
    Well if all of our 12 players do this at the same time there are a few active bodies :)