Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In my game, I have a scrollrect which its content have a VerticalLayout component. When I fill that with so many count of GameObjects, the game will fall in problem!

I know that I have to recycle my objects, but I don't know how!

share|improve this question
    
What's the problem? – SP. Aug 5 at 16:30
    
@SP When I load game rooms in a list, there are too many game object (about 5000) instantiated, and cause memory leak. – sma6871 Aug 5 at 16:42

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.