NewProject and OpenFile crashing

RogFromTheGarage wrote on 11/21/2016, 6:47 PM

I am writing an extension that will walk a subdirectory, open every .veg file it finds, and render each one. Everything works so far, but when I call vegas.NewProject() or vegas.OpenFile(path) I get a 0x8000FFF exception.

Just to make it simple, I created a short version to show the error:

void hndRenderAll(Object sender, EventArgs args)
      {
         using (UndoBlock undo = new UndoBlock("Render All"))
         {
            vegas.NewProject();
            return;

...

This method is getting called and I hit my breakpoints, but NewProject results in an exception. Any ideas?

I am calling this method both with a roject open and without a project open.

I am running the latest build (version 14.0 Build 201)