I'm developing a Wwise effect plugin and facing some problems, so I'd like to ask here.
The plugin has large binary parameters, so I'm treating the parameters as CustomData rather than the standard PropertySet, referring to the documentation.
There are two problems. One is that the user cannot undo/redo when they change the CustomData. The other problem is that when the user insert the plugin into a container and check the Render, the effect is rendered in the first generation, but even if they change the CustomData and generate it, it does not re-render.
In the plugin's backend code, when the CustomData is changed, I call m_host.NotifyInternalDataChanged. I set the in_bMakeProjectDirty parameter to true, but this only enabled the saving of the work unit, and did not affect Undo/Redo or Render.
With the standard PropertySet, this problem does not occur. Both work correctly by calling m_propertySet->Set.
How can I make Undo/Redo and Render work with CustomData?
Wwise 2024.1.1.8691