AndresTraks / BulletSharpPInvoke

.NET wrapper for the Bullet physics library using Platform Invoke

Home Page:http://andrestraks.github.io/BulletSharp/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

System.NullReferenceException BulletSharpTest

CorvoOrc opened this issue · comments

Hi,
Im tried check my compilation libbulletc.dll successfull and run BulletSharpTest. In TestGCCollection()->...->NeedsCollision(ContancSensorCallback.cs)->CollisionObject.cs
function public bool CheckCollideWithOverride(CollisionObject co)
{
return btCollisionObject_checkCollideWithOverride(Native, co.Native);
}

Im got exception NullReferencesException because co is null.

When Im commented TestContactTest(dynamicObject, dynamicObject2); function in TestGCCollection() function im got 3 fail tests but success processing with "Finished!" message.

Its my mistake with bad compilation libbulletc.dll or something else?

I get that too.
It was probably because of 3268e91, but I'm not sure yet.

Fixed in 9b6b9ce.
Thanks!

Thanks for u support!