hi,
i got an exception in the irrlicht.net version, the crash was happening in the class: irrlicht.net.cpp
and it came from the line: 103 and 104
//Device->drop();
//Device = 0;
removing these lines will fix the problem..
is this possible? thanks
//! Destructor
IrrlichtDevice::~IrrlichtDevice()
{
try
{
System::GC::SuppressFinalize(this);
set_EventReceiver(0);
if (Device)
{
//Device->drop();
//Device = 0;
}
}
catch(Exception*)
{
// catch this exception if we created the device for OpenGL mode,
// .net crashed here for some unknown reason (I don't want to know why, really..)
if ( CreatedDriverType != irr::video::EDT_OPENGL )
throw;
else
System::Diagnostics::Debug::WriteLine("Catched OpenGL shutdown exception");
}
}