Hi,
I have started experimenting various features of the Vegas scripting library and got some weird behavior when trying to use the CustomDataContainer class.
When I use it in a script and try to serialize a standard string (for test purpose) on the "Project" property of my Vegas object, both the "set" and "get" works without any problem.
However, when I try to do the same thing using the Extensions, it also works but the "set" (SetObject) throws an exception (Catastrophic failure). If I catch it and continue my extension process, I am able to retrieve the CustomData from my Project.
I was wondering if that was a known issue or if you had any clue on what might be doing that difference between using a script vs using an extension.
I did not witness any other weird behavior aside from this one when using either of the approach to extending Vegas.
Thank you very much for the information.
I have started experimenting various features of the Vegas scripting library and got some weird behavior when trying to use the CustomDataContainer class.
When I use it in a script and try to serialize a standard string (for test purpose) on the "Project" property of my Vegas object, both the "set" and "get" works without any problem.
However, when I try to do the same thing using the Extensions, it also works but the "set" (SetObject) throws an exception (Catastrophic failure). If I catch it and continue my extension process, I am able to retrieve the CustomData from my Project.
I was wondering if that was a known issue or if you had any clue on what might be doing that difference between using a script vs using an extension.
I did not witness any other weird behavior aside from this one when using either of the approach to extending Vegas.
Thank you very much for the information.