yoshinoToylogic / bulletsharp

Automatically exported from code.google.com/p/bulletsharp
MIT License
0 stars 0 forks source link

BulletSharp crashes with memory exceptions, P/Invoke missing code #74

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
So, the P/Invoke version of BulletSharp is outdated and missing things like ray 
tracing.
The main regular BulletSharp build gives me this all the time, usually after a 
collision or two occurs in the physics world:
https://i.imgur.com/nKKn4J8.png

A solution for either of these would suffice... I just need something I can use.

Original issue reported on code.google.com by mcmonkeystudios on 26 Oct 2014 at 8:55

GoogleCodeExporter commented 8 years ago
A lot of work has gone into fixing the AccessViolationException-type problems 
since 2.82, so it's possible this has been fixed in trunk. I'll check out your 
repo and try to see what the deal is.

P/Invoke has ray tracing in trunk, so it will be there in 0.5. Also, 2.83 of 
the regular BulletSharp is close to done, but I can't give any exact date on 
either.

Original comment by andres.traks on 27 Oct 2014 at 7:23

GoogleCodeExporter commented 8 years ago
I couldn't make it crash with 2.82 and the c10719 revision. Should that one 
fail or is there something missing there?

Original comment by andres.traks on 27 Oct 2014 at 8:43

GoogleCodeExporter commented 8 years ago
It fails on the 2.82 BulletSharp release download, I haven't compiled from any 
specific revision.
All I can tell you is my code has crashed with the exception posted on multiple 
unrelated machines. (My win8 laptop and my win7 desktop).

Perhaps it is fixed in the recent updates - in which case a quick upload of the 
dll and/or a compile guide would be greatly appreciated.
(I tried compiling myself... twenty errors later [missing links, missing 
headers that the bullet release I found doesn't have, ...], I gave up)

Original comment by mcmonkeystudios on 28 Oct 2014 at 1:38

GoogleCodeExporter commented 8 years ago
Just realized I never posted my code - woops!
https://github.com/mcmonkey4eva/BulletSharpTest

Original comment by mcmonkeystudios on 28 Oct 2014 at 1:39

GoogleCodeExporter commented 8 years ago
Try this one (latest from github sources):
https://drive.google.com/folderview?id=0B2TPMwtggT0jYlo4RlhIb3BMdlU#list

Original comment by andres.traks on 28 Oct 2014 at 12:14

GoogleCodeExporter commented 8 years ago
And... it works perfectly :D! Thanks so much!

Original comment by mcmonkeystudios on 29 Oct 2014 at 1:27

GoogleCodeExporter commented 8 years ago

Original comment by andres.traks on 19 May 2015 at 12:18