MMOC bug

Tubulii

15-05-2010 17:50:47

Hi,

I am using MMOC for collision detecting (well,only for my "character"), but after some seconds, it throws an error(see attachment).
In English:)
System.AccessViolationException was not treated.
An attempt was made to read or write in protected memory. This is often an indication that other memory is corrupt.

Has anyone a idea how to fix this, because this is a really bad bug. I need thast collision detection

Thank you

xerios

15-05-2010 19:53:29

That happened to me several times when I was using a second thread to do the raycasting job, is your application multi-threaded?

Tubulii

16-05-2010 10:11:53

No, my application is not multi-threaded. I only create the collsiontool and then do the raycasting.
But how did you solve that problem?

xerios

16-05-2010 11:46:50

I just reduced the total amount of raycasts in my game, somehow it fixed the issue

Tubulii

16-05-2010 13:02:15

Thank you,

but this is not an option for me.
Nobody else has this bug? That is strange ...

smiley80

16-05-2010 16:08:00

Please try the attached version.

Tubulii

16-05-2010 16:34:31

Thank you,

smiley80, the problem seems to be fixed now.
Sombody should fix the version on google.code to avoid such bugs in the future...

smiley80

16-05-2010 16:39:16

Done.