Hi, m working on a module where in m recording the behavior of game objects. But during recording m getting this error and it hangs the application. Plz help me to solve this issue. I am using Unity 3.5
Wait, my crystal-ball says: .... not enough information
I guess you create way too much objects or something like that... But you give almost no information. No code, no pc specs, no memory usage. How should we answer this question?
clear and specific questions
Ok,, actually i have some 12 characters(all are human kind characters) and a camera. I Have attached character controller to all these characters. I have given waypoints to every characters through which they will walk on the terrain. All these characters are having some set of animations. Characters will walk, run, crouch based on the logic i have written. when i run my application without recording every thing will work nice for me,, but when i start recoding i ll get this error.
@sanj042 Again, not enough information.
It is obvious that your issue is related to the recording. But you gives information on everything except recording!
We have battled the too many heap sections alot and multiple times. It always comes back to our code never releasing object references... so the Garbage Collector cannot release memory.... so we run out of memory when mono tries to allocate heap memory.
When you record information ... do you store the recorded data in memory?
If yes, try instead to dump data into a file, clear your data references and call the Garbage Collector.
Please note that you can observe mono heap size (both used and total).
So what are you using to "record"? Is it buffering to a disk file or "recording" in memory? What is it recording? Screen captures could get very big very fast for instance.
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users post good questions and use the site effectively we have posted a user guide.
If you are a new user, check out our FAQ for more information.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
For troubleshooting common problems with Unity 5.x Editor (including Win 10).
Answers and Comments
9 People are following this question.
Setting Scroll View Width GUILayout
Private Array in custom Class behaving Public
I want to turn my flashlight on and off, while still maintaining the flicker effects.