Hi, when I use an OpenFileDialog to load a model with

"ENTITY.ent_create(LoadModel.FileName, new Vector(100, 100, 0), *anyfunction*);"

I often get an AccessViolationException error (...wurde nicht behandelt. Es wurde versucht,
im geschützten Speicher zu lesen oder zu schreiben. Dies ist häufig ein Hinweis darauf,
dass anderer Speicher beschädigt ist).

The Debugger points to (EngFun.cs):
Code:
/// <summary>
        /// engine_frame - see Gamestudio manual
        ///  - for more detailed and up to date documentation, visit http://manual.3dgamestudio.net/ </summary>
        public static int engine_frame()
        {
            return NativeEngFun.engine_frame();
        }


This mainly happens if I load an *.MDL-file with 3+ MB. Then the engine needs a little time to load the model
(short freeze of the embedded engine window) and I get the error (depends on the complexity/texture space of the model).
I suspect that maybe the Scheduler and this freeze cause this error but it could be my fault, too. Do you have an idea?