I don’t know what changes could have damaged it, there have only been two important things, the Juce update, and the VS 2022 update.
Maybe you could advise me on how to find the problem. So far I have verified that the setStateInformation function is called, and the received parameters seem correct, the pointer to data is not null, and sizeInBytes seems correct. I check that it is valid and copyPropertiesAndChildrenFrom is called.
auto treeValue = juce::ValueTree::readFromData(data, size_t(sizeInBytes));
if (treeValue.isValid()) treeState.state.copyPropertiesAndChildrenFrom(treeValue, nullptr);
however, no parameter is updated, as it used to be.