Stop Unloading My Resourcepacks
Prevents the game from disabling all resourcepacks if a shader-related error occurs. Instead, errors will be displayed in-game, can be configured to show errors in chat, a box in the top left, or both
This mod also adds a few QOL features for developing shaders, read more below
Things this mod prevents from disabling resourcepacks
The following things in vanilla will forcibly disable all resourcepacks, with this mod installed these will use a fallback and show any errors in-game and the output log:
- Shader program compilation errors
- Missing shader programs
- Shader linking errors
- Invalid or missing post_effect jsons
- post_effects that reference invalid targets
For minecrafts builtin shaders, the mod will attempt to load the default ones as a fallback if an error occurs. For modded shaders, a dummy shader will be used as a fallback which will make any objects using that shader invisible
Additional features
- Shader hot-reload keybind (F3 + R) which just reloads shaders, much quicker than a full resource reload
- Works in the title screen, not just when in a world!
- Adds better errors for some things. For example, when importing a non-existent include shader the gane will produce a proper error rather than throwing a null pointer exception
- Added an option to disable shader linker info logs
- Off by default but can be enabled if it causes a ton of log spam (like it does on my machine)
License
Stop Unloading My Resourcepacks by ioblackshaw (a.k.a. Enchanted_Games) is licensed under CC BY-NC 4.0
How to Install Stop Unloading My Resourcepacks [SUMR] (Mod)
Stop Unloading My Resourcepacks [SUMR] by enchanted-games is verified for Fabric, Neoforge across Minecraft versions 1.21.10, 1.21.11, 1.21.11-pre3, 1.21.11-rc1, 1.21.11-rc2, 1.21.11-rc3, 1.21.6, 1.21.7 (latest release: 1.6.0+26.3-fabric, file size: 53 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.21.10, 1.21.11, 1.21.11-pre3, 1.21.11-rc1, 1.21.11-rc2, 1.21.11-rc3, 1.21.6, 1.21.7) and platform (Fabric, Neoforge).
- Make sure you have the compatible loader or environment installed for Fabric, Neoforge.
- Move the downloaded Stop Unloading My Resourcepacks [SUMR] file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add Version| Name | Game version | Platforms | Published | Downloads | Actions |
|---|---|---|---|---|---|
| 2mo ago | 17 | ||||
| 2mo ago | 8 | ||||
| 2mo ago | 6 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 |
- Ported to 26.3
- Many things have changed internally and as such some error messages look different compared to previous versions:
- Post effect related errors are now displayed as warnings and generally have more information than before
- Shader compilation errors are now logged per pipeline instead of per shader type (in practice this just means you see 1 error even if both the fragment and vertex shaders failed to compile)
- On OpenGL, some specific cases may still cause resourcepacks to be unloaded. This doesn't seem to be easily fixable for the time being
- Removed the 'Hide linker logs' config option
- Ported to 26.2
- Ported to 26.2
- Ported to 26.2-snapshot-1
- Added support for the new Vulkan backend
- Update to full release 26.1
- Ported to Neoforge 26.1
- Update to full release 26.1
- Ported to Neoforge 26.1
- The reload shaders hotkey is now rebindable from the Controls > Key binds screen under the Debug section
- Update to 26.1-pre-2
- Update to 26.1-snapshot-11
- Update to 26.1-snapshot-10
- Update to 26.1-snapshot-1
- Ported to NeoForge 1.21.11
- Rewritten the build system to support 26.1 and above
- Update to 26.1-snapshot-1
- Ported to NeoForge 1.21.11
- Rewritten the build system to support 26.1 and above
- Update to 26.1-snapshot-1
- Ported to NeoForge 1.21.11
- Rewritten the build system to support 26.1 and above
- Updated the pack metadata format
- Fixed an error that could occur when reloading resourcepacks, caused by a missing access widener
- Compiled against 1.21.11-rc1
- When the shader error box is hidden, the scroll position no longer jumps back to the top
- Updated to 1.21.11
- Added better errors for invalid import directives, these now show the full file path instead of just the file name
- Prevented shaders with a missing
#versionfrom causing a reload fail - Prevented shader pre-processing from causing a reload if an error somehow occurs
- Made some improvements to the error message box
- Messages are now hidden instead of removed after 30 seconds (60 if using the hot reload keybind)
- Hidden messages can be shown by clicking the info message in the box
- Hopefully fixed some rare crashes caused by race conditions when trying to load fallback shaders