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.

massive Profiler Spike (FPSDisplay.ONGUI)

Discussion in 'Immediate Mode GUI (IMGUI)' started by TKDHayk, Dec 19, 2017.

  1. TKDHayk

    TKDHayk

    Joined:
    Dec 22, 2015
    Posts:
    99
    I'm getting somewhat unpredictable but drastic profiler spikes, all thanks to (FPSDisplay.ONGUI).
    the game is An Oculus FPS and this happens when enemies die very close to the Player. What on Earth is this? I have a canvas attached to the camera to show FPS (this is how I noticed the FPS spikes to begin with).