- Home /
Debugging and logging crashing?
Hi, my game crashes, and I have to figure out why and fix it. Is there any tool or option to log events to a file? Profiler runs out of samples for some frames, lots of physics with lots of optimizations, etc. Unity Editor also crashed during playtesting.
Edit: Found the logs
Unity Editor [version: Unity 5.0.1f1_5a2e8fe35a68]
Unity.exe caused an Access Violation (0xc0000005)
in module Unity.exe at 0033:40578432.
Error occurred at 2015-06-08_090130.
C:\Unity5\Editor\Unity.exe, run by [redacted].
87% memory in use.
16367 MB physical memory [2126 MB free].
16918 MB paging file [438 MB free].
8388608 MB user address space [8384451 MB free].
Write to location c8070088 caused an access violation.
Perhaps something on your computer is leaking memory. Access violations are not that easy to create.
Do you start Unity in ad$$anonymous$$ mode?
As a stab in the dark, increase your page file by 50%.
Oh yeah I lowered my paging file and set it to a different hard drive, also I have tons of other things running in the background. I'll also try running in ad$$anonymous$$ mode! Thanks for the reply! I'm also updating Unity to 5.1.
Increased my paging file and added one on my main drive, haven't crashed since. That was quite a stab in the dark!
Answer by ybaklaci · Mar 01, 2017 at 08:43 PM
Here: docs.unity3d.com/Manual/LogFiles.html
Also since you are asking for a tool, there is an Asset called Reporter which might be helpful on devices also.
Your answer
Follow this Question
Related Questions
Unity crashes if i dont build first. 0 Answers
Distribute terrain in zones 3 Answers
Unity crashes with Access Violation 2 Answers
Unity Editor Crash after project is loaded 1 Answer
Unity Editor Crashes Upon Startup 0 Answers