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.
  2. The 2022.2 beta is now available for testing. To find out what's new, have a look at our 2022.2 feature highlights.
    Dismiss Notice
  3. We are updating our Terms of Service for all Unity subscription plans, effective October 13, 2022, to create a more streamlined, user-friendly set of terms. Please review them here:
    Dismiss Notice
  4. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice
Dismiss Notice
Submit bug reports tagged with #Beta2022Win_Unity when you encounter unknown issues while testing the 2022.2 betas for a chance to win a year of Unity Pro. For more information, have a look at our Beta Sweepstakes Announcement.

LWRP 4.9.0 causing lags - GC.Collect

Discussion in 'Graphics Experimental Previews' started by kexar66, Feb 19, 2019.

  1. kexar66


    Feb 27, 2013
    we have troubles with LWRP 4.9.0 in Unity 2018.3.5f1 - GC.Collect causing lag spikes every few seconds (random):
    profiler_graph.jpg profiler_hierarchy.jpg

    We tried also 3 older versions of LWRP and Unity but it did not help.

    Anyone can help?
  2. liiir1985


    Jul 30, 2014
    GC Alloc inside GetComponentFastPath only occurs inside Editor, won't appear in a standalone build. I've read about it in another thread that this allocation is nessessary in editor for some safety checks.
    and you can try turn on VSync or limit the framerate to decrease the frequency of GC.Collect in Editor if it troubles you
    chrismarch likes this.