• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges

Garbage-collection

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

anszwa commented

Why do Physics2D NonAlloc functions get deprecated?

Jan 6, '22 physics2d·overlapsphere·garbage-collection

1 Reply

0 Votes

avatar image

imranomb asked

Optimization problem (Garbage collection=

Dec 25, '21 in Help Room

0 Replies

0 Votes

avatar image

A_Lego commented

Coroutine Array, set to null or initialize new array

Nov 8, '21 c#·efficiency·garbage-collection

1 Reply

0 Votes

avatar image

marchall_box answered

What causes an increase in editor GUI garbage collection?

Oct 17, '21 editor·profiler·framerate·voxel·garbage-collection

2 Replies

2 Votes

avatar image

vivekrawat published

WebGL not releasing memory,WebGL not Releasing the memory

Jun 25, '21 in Help Room

0 Replies

0 Votes

avatar image

RaffaeleT answered

Performance degradation on Android and iOS switching between scenes

Jun 19, '21 android·ios·performance·garbage-collection

2 Replies

0 Votes

avatar image

yukisoulme asked

what will happen to the reference that i create inside method if i no longer use it?

Jun 17, '21 in Help Room

0 Replies

0 Votes

avatar image

rh_galaxy answered

Loading Scene causes lag spikes due to garbage collecting

May 27, '21 profiler·load scene·garbage-collection

1 Reply

0 Votes

avatar image

Shadex answered

Garbage collection and cleanup when Scene unloads

Apr 11, '21 garbage-collection

1 Reply

0 Votes

avatar image

laessnb commented

Does passing an Action as a parameter create garbage?

Mar 12, '21 c#·events·action·garbage-collection

1 Reply

3 Votes

avatar image

Zaddo commented

UnloadUnusedAssets causes GC.MarkDependencies to spike

Jan 23, '21 in Help Room

0 Replies

0 Votes

avatar image

ParametricAvocado answered

HUGE Lag spikes in editor when playing an animation. Over 400ms GC.Collect (profiler screen included)

Jan 2, '21 editor·animator controller·lag·bug-perhaps·garbage-collection

2 Replies

0 Votes

avatar image

Wappenull answered

How to avoid garbage for strings?

Nov 28, '20 text·string·garbage-collection

6 Replies

1 Votes

avatar image

appomart edited

Unity Editor freezes after exiting playmode

Aug 5, '20 editor·3d·vr·freeze·garbage-collection

2 Replies

5 Votes

avatar image

Bunny83 answered

Can I reuse a vertex list after calling mesh.SetVertices()?

Oct 25, '19 c#·procedural mesh·garbage-collection

1 Reply

0 Votes

avatar image

Xavier78 answered

force and delay Garbage Collection

Jul 30, '19 performance·optimization·garbage-collection

7 Replies

11 Votes

avatar image

msmoyle asked

large sudden profiler spike

May 21, '19 optimization·profiler·efficiency·garbage-collection·spikes

0 Replies

0 Votes

avatar image

Bunny83 commented

Is it possible to change the definition of '~' from that of a destructor/finalizer and into that of an underscore '_' ? Closed

Apr 22, '19 garbage-collection·gc·garbage collection·keywords

1 Reply

1 Votes

avatar image

sercanaktanbeyn asked

Firebase garbage collection bug, trigger GC manually ? ,Firebase garbage collection bug, trigger GC manually

Mar 4, '19 crash·garbage-collection·gc·garbage collection·gc.collect

0 Replies

0 Votes

avatar image

Bunny83 edited

Zero Garbage Policy

Feb 12, '19 optimization·garbage-collection

1 Reply

1 Votes

avatar image

EricJ13 commented

Best way to handle Deserializing a large JSON file from a website?

Dec 26, '18 optimization·lag·json·dynamic·garbage-collection

1 Reply

0 Votes

avatar image

Khalreon01 answered

Garbage Collection in my Script

Nov 4, '18 in Help Room

1 Reply

0 Votes

avatar image

Rembo4Fight commented

Scripting Problems with var arrays

Oct 4, '18 in Help Room

1 Reply

0 Votes

avatar image

hexagonius commented

GC Allocation with new array length Closed

Sep 27, '18 performance·optimization·arrays·garbage-collection

0 Replies

0 Votes

avatar image

ignacevau commented

how does houses in the nature deal with garbage and other kinds of waste

Aug 19, '18 garbage-collection·life·garbage collection·house·garbage collector

1 Reply

0 Votes

avatar image

Mrb83 commented

Is there a way to accurately measure heap allocations in unit tests?

Aug 12, '18 memory·garbage-collection·heap

1 Reply

0 Votes

avatar image

Whatever560 commented

Why is my Coroutine Continuing to allocate GC from the "MoveNext()" After it completes?

Jul 25, '18 coroutines·while-loop·garbage-collection

1 Reply

1 Votes

avatar image

Samo-Jordan commented

Garbage tracking without profiler?

Apr 30, '18 garbage-collection

1 Reply

0 Votes

avatar image

Droidhen asked

Hi guys, I need to catch the GC event, Could you tell me how to do it specifically? thx a lot.

Jan 30, '18 in Help Room

0 Replies

0 Votes

avatar image

Hqsow edited

Why too much GC after loading scenes for multi-times?

Dec 11, '17 in Help Room

0 Replies

0 Votes

  • 1
  • 2
  • 3
  • 4
  • ›

Related Topics

optimization memory performance profiler c# gc memory management gc.collect efficiency memory-leak destroy garbage collector garbage collection android garbage editor procedural mesh string performance optimization scripting problem scene framerate spikes allocation mono


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges