[ODE] ODE .NET

Mark Williams mark at image-engine.com
Fri Jun 8 11:47:04 MST 2007


Jason Perkins wrote:
> On 6/8/07, Manox <manoxik at seznam.cz> wrote:
>   
>> When I use trimesh geom, it throws : AccesViolationException - Attempted
>> to read or write protected memory ....
>>     
>
> Be sure that you are keeping a reference to your mesh data in your
> .NET code, otherwise it will get garbage collected. Sounds to me like
> that is what is happening.
>   


There's a bug in the sourceforge tracker relating to the order in which 
destructors are called when ODE is bound to a scripting language. Could 
this be coming into play here?

Mark


More information about the ODE mailing list