menu
 

AudiokineticのコミュニティQ&AはWwiseやStrataのコミュニティ内でユーザ同士が質問・回答をし合うことができるフォーラムです。Audiokineticテクニカルサポートチームからの回答をご希望の場合は、必ず サポートチケットページ をご利用ください。

0 支持
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
Naoto T. (100 ポイント) General Discussion
I solved the problem myself, so I'll share the solution.

In the end, I couldn't find a way to fix the problem using Custom Data, so I decided to use PropertySet instead of Custom Data for the binary parameters. To handle binary parameters with PropertySet, I convert the binary parameters to text using base46 and treat them as string type. This way the undo/redo and re-render functions work.

Hope this helps.

Please sign-in or register to answer this question.

...