Performing a hot reload after modifying game code (plugin code is unmodified) does not also reload plugin modules. In the attached project, there are some log messages output when the plugin module is started and shut down. Neither of these messages are displayed in the Output Log when a hot reload is performed.
The plugin also contains a static variable that has a default value of 4. When the plugin module is started, the value is set to 2. This works fine when the project is first opened in the Editor, but when the project is hot reloaded the variable will return to its default value. Using the Modules window to reload or recompile the plugin module does not update the variable's value correctly even though the log messages showing that the plugin module was shut down and started again do appear correctly.
The plugin module is not reloaded, and its static variable is no longer referenced correctly which is seen by the Output Log now showing the following message: "Value inside game code is 4"
The plugin module is also reloaded, and its static variable is still correctly referenced.
There's no existing public thread on this issue, so head over toAnswerHub just mention UE-61259 in the post.