hi,i am developing a pc game using Unity3.5.7 .Recently,unity crashes occasionally, i have the stack trace for you to look at
(filename not available):fastcopy_I
(filename not available):_VEC_memory
(filename not available):memcpy_s
(filename not available):std::basic_string,stl_allocator>::assign
(filename not available):std::allocator::construc t
(filename not available):std::_Uninit_copy>
(filename not available):std::vector>::_Unmove
(filename not available):std::vector>::_Insert_n
(filename not available):std::vector>::insert
(filename not available):std::vector>:ush_back
(filename not available):CompressedFileStreamMemory::AddFile
(filename not available):FileStream::ParseDirectoryHeaders
(filename not available):CompressedFileStreamMemory::LoadFiles
(filename not available):UnityWebStream::UpdateProgress
(filename not available):UnityWebStream::UpdateAllUnityWebStream s
(filename not available):PerformMainLoop
(filename not available):MainMessageLoop
(filename not available):WinMain
(filename not available):_tmainCRTStartup
(filename not available):RegisterWaitForInputId
the error.log shows:
xxx.exe caused an access violation(0x0000005)
62% memory in use
3072 MB physical memory [1145 MB free].
0 MB paging file [2112 MB free]
2048 MB user address space [885 MB free].
Read from location 31d31000 caused an access violation.
so i have some questions for this
1.It seems unity is saving something , but the original memory is not available , and the wild pointers caused the crash?
2.What kind of SavedRegister is?I suspect that some downloaded data is freed,and unity try to save it,but i don't know what kind of data i should not free.
3.Can multi thread caused this? my own thread does not touch any unity memory data.
the crash happened occasionally,i can't reproduce it whick bother me so much. i need your help to resolved it or avoid this.
Any advice would be appreciated,thanks in advance.
↧