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
All Versions
+ Add Version| Name | Game version | Platforms | Published | Downloads | Actions |
|---|---|---|---|---|---|
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h ago | 1 | ||||
| 23h 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
- Update to 25w44a, not extensively tested but seems mostly functional
- Rebuilt on 1.21.9, no functional differences to 1.1.1
- Rebuilt on 1.21.9, no functional differences to 1.1.1
- Rebuilt on 1.21.9, no functional differences to 1.1.1
- Ported to 1.21.9-pre1 and pre2 (Fabric only until neoforge updates)
- No functional changes compared to v1.1.1
- Fixed crash in production environments
- Fixed crash in production environments
- Added a new config option to hide shader linker info logs
- Fixed the mod not being able to load on 1.21.6 due to a strict fabric-api version dependency
- Fixed the mod icon being blurry on neoforge
- Added a new config option to hide shader linker info logs
- Fixed the mod not being able to load on 1.21.6 due to a strict fabric-api version dependency
- Fixed the mod icon being blurry on neoforge
- Fixed a crash that could happen when pressing the reload shaders keybind at just the right time
- Allowed the mod to load on 1.21.6 or higher
- Fixed a crash that could happen when pressing the reload shaders keybind at just the right time
- Allowed the mod to load on 1.21.6 or higher
- Using the shader reload keybind (F3 + R) will no longer incorrectly display the F3 screen
- Using the shader reload keybind (F3 + R) will no longer incorrectly display the F3 screen
- Added mod icon
- Fixed source links
- Config is now resaved on load to ensure invalid entries are removed
- Added mod icon
- Fixed source links
- Config is now resaved on load to ensure invalid entries are removed