Test the stripped build
After you remove submodules, test the build to ensure the game still works as expected.
For best results, profile the build to find out which submodules to remove.
To test the build:
Enable Missing Submodule Error Handling in the Submodule Stripping Settings
Check the build for:
- "Stripped function 'X' (used in submodule 'Y') was called" (or similar) messages, either in the browser console or as an explicit error dialog, depending on the used Missing Submodule Error Handling option.
- Unusual error messages in the browser console.
- Missing or broken in-game elements, such as missing text, missing meshes, or corrupted textures.
If the build works as expected, optimize the final build.
Note
If the build doesn’t work as expected, it likely needs a submodule you stripped out. Profile the build to make sure you remove only unused submodules.