iPlug2 / iPlug2

C++ Audio Plug-in Framework for desktop, mobile and web
https://iplug2.github.io
Other
1.9k stars 283 forks source link

vst3 chunk cant be loaded in Win Bitwig after deactivating/reactivating AudioEngine #203

Closed janhase88 closed 5 years ago

janhase88 commented 5 years ago

i recently updated to a newer vst sdk (vstsdk3613_08_04_2019_build_81) and since then in Bitwig the chunks can not be loaded anymore

2019-04-23-18-43-14

Put_In_IPlugEffect.zip

*updated example , because some things changed in iplug [02.06.2019]

janhase88 commented 5 years ago

above code built as vst2/vst3: SerializationTest built vsts.zip

AlexHarker commented 5 years ago

I can't reproduce on Reaper or Bitwig using a Mac.

When I break in IPlugVST3State::GetState() and IPlugVST3State::SetState() in Reaper then the methods return correctly and the text string is restored.

I did set #PLUG_DOES_STATE_CHUNKS 1 in config.h - I assume you are doing that, but you didn't mention it in the code you sent.

You mention updating the VST3 SDK - did you also update IPlug2 to the latest?

janhase88 commented 5 years ago

it is working in reaper here as well vst2/3. plug does chunk is 1 - yes. i also updated iplug2.

janhase88 commented 5 years ago

i retested in Bitwig 2.5.1 and 3 Beta 1. on deactivating and reactivating audio engine vst 3 chunk cant be loaded.

AlexHarker commented 5 years ago

Is this still happening with the latest version of iPlug 2?

janhase88 commented 5 years ago

yes, i retested yesterday [02.06.2019] with the latest iplug2 version and bitwig 3 beta 4.

janhase88 commented 5 years ago

retested now with bitwig 3.02 - seems to work now