Meta SDK build in release mode

Hi I am struggling with building a working release version of the sample “stub_analytics_plugin” from the metadata SDK (v 6.0.3.40736)

Building on Windows 11 using Visual Studio 2022, (using cmake to first make a solution file), I can view and modify the example, and build in Debug mode. This output I can run as a plugin on my locally installed server, but is of course reliant on c++ redis Debug version, which would not normally be installed on production environments.

Building in Release mode (source code unmodified otherwise) if I add the output to a servers plugins folder and start the server, it enters a boot loop (starting and restarting) until I stop the server and remove the plugin. Logs get as far as the line “INFO PluginManager(0x2a96cf24840): Considering to load Server plugin” before restarting.

Dependancy walker is not seeing anything missing on the server for the plugin, and other plugins are loading fine. I have tried many variations of the Release build with no success.
Any pointers on what I might be doing wrong here? C++ builds would not be my forte so I appreciate any help in the matter!

0

Hello,

I add the output to a servers plugins folder and start the server, it enters a boot loop (starting and restarting)

This with a great probability indicates crashing of the Server. Since a plugin runs in the Server’s process, it seems the crash is caused by the plugin code.

Could you please reproduce the issue with the sample analytics plugin of the Metadata SDK and once reproduced share the code with us using a cloud storage service you prefer?

Hi Andrey,

Sorry if I wasn’t clear, I am encountering the issue when building the sample analytics plugin of the Metadata SDK. I have not modified the example in any way, just built a version in both Debug and Release mode.

The Debug build runs fine on my development server (NxWitness running on my laptop) but the release build does not run on the production systems (Various Windows 11 devices with the correct dependencies installed, c++ redis etc). These production systems load other plugins just fine, just causes a boot loop of the application if the Release build of the sample analytics plugin of the Metadata SDK is added to the plugins folder.

If it is of use to you I can upload a zip of the copy of the Metadata SDK project that I am using?