Uh oh.. "Object out of range in cObjArray" ?? - by Niborius
Niborius on 28/5/2015 at 14:49
So the last thing I remember doing was fixing up some rooms and changing the time order of some brushes, when this error started appearing everytime I pick something up in my mission. It also crashes my game to the desktop.
Code:
---------------------------
Assertion Failed
---------------------------
Obj ID 50785120 is our of range in cObjArray::operator[] (m_Bounds.min == -8192, m_Bounds.max == 2400) (File: ObjArray.h, Line: 106)
(Yes to trap, No to exit, Cancel to ignore)
---------------------------
Yes No Cancel
---------------------------
fibanocci on 28/5/2015 at 14:58
edit the dark.cfg like this
Quote:
; object counts
obj_min -18192
obj_max 8184
max_refs 47740
and restart
Niborius on 28/5/2015 at 15:07
Unfortunately, the problem remains. :erg:
Edit: I have 1062 total objects in my level
Edit 2: Using the build pathfinding database mentions I got a cell with duplicate vertices, and it also mentions "Unusually high inward links to cell ##### - Cell could be corrupt"
fibanocci on 28/5/2015 at 15:55
Try an earlier mis/cow and/or post your monolog after complete processing
Niborius on 28/5/2015 at 17:19
Even very old versions of my mission seem to give the same problem now. I'm going to try a clean re-install of dromed. I'll give an update asap
Edit: That worked! I also noticed that I had a few objects with dimensions set to 0 0 0, which also gave me some bad errors in the pathfinding. Generating a report (under the tools menu) and finding which objects these were fixed that as well.
Thank you fibanocci for your help :thumb:
fibanocci on 28/5/2015 at 18:25
Sometimes Thief/DromEd-installations get corrupted for some reasons. I always keep a backup of my current installation on an external hard drive and refresh the copy now and then.