https://github.com/OGRECave/ogre/issues/3640
https://github.com/OGRECave/ogre/pull/3642
https://github.com/OGRECave/ogre/commit/526fc2571ec7785822e440656ae841070f5901f5

From 9d5ded11a1b6a7ea078816318fde64645d176e3c Mon Sep 17 00:00:00 2001
From: Pavel Rojtberg <rojtberg@gmail.com>
Date: Sun, 31 May 2026 13:48:23 +0200
Subject: [PATCH] Plugins: DotScene - unregister in uninstall

to match registration
--- a/PlugIns/DotScene/include/OgreDotSceneLoader.h
+++ b/PlugIns/DotScene/include/OgreDotSceneLoader.h
@@ -87,8 +87,8 @@ class _OgreDotScenePluginExport DotScenePlugin : public Plugin
 
     void install() override;
     void initialise() override {}
-    void shutdown() override;
-    void uninstall() override {}
+    void uninstall() override;
+    void shutdown() override {}
 private:
     Codec* mCodec;
 };
--- a/PlugIns/DotScene/src/DotSceneLoader.cpp
+++ b/PlugIns/DotScene/src/DotSceneLoader.cpp
@@ -1143,7 +1143,7 @@ void DotScenePlugin::install()
     Codec::registerCodec(mCodec);
 }
 
-void DotScenePlugin::shutdown() {
+void DotScenePlugin::uninstall() {
     Codec::unregisterCodec(mCodec);
     delete mCodec;
 }
