1
\$\begingroup\$

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!

\$\endgroup\$
2
  • \$\begingroup\$ What's the problem? \$\endgroup\$ Commented Aug 5, 2016 at 16:30
  • 1
    \$\begingroup\$ @SP When I load game rooms in a list, there are too many game object (about 5000) instantiated, and cause memory leak. \$\endgroup\$ Commented Aug 5, 2016 at 16:42

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.