

At most, you're just creating a nuisance for modders. In the end you're not preventing modding - unstripping assemblies is a fairly easy process of grabbing them from Unity Editor.To me it sounds like an easy decision: you're adding value to your game by simply not doing something you're doing. In this case this is especially sad, since instead of having to do something to encourage modding, you have to not do something (that is, stripping) to make modding easier. As such, one can say that by hindering modding you're shooting yourself in the foot, especially when a game is in early access.


By stripping you're creating a nuisance for modders which can affect game popularity - there is evidence that game modders add value to the game.As such, if you want to really save size, optimize your assets and not assemblies. At the same time, most other assets like images and audio are much less compressible. In other words, instead of downloading 10 MB you're downloading about 2 MB more. The size of the compressed and stripped Managed folder of Valheim is in turn 2.0 MB using LZMA. Managed IL assemblies are often surprisingly compressible - with LZMA, the size of the unstripped Managed folder becomes about 4.3 MB. Steam downloads games compressed (and games are often downloaded in archives).If you want to optimize your game size for stripping to really matter, optimize your assets first. If just a 10 MB difference still sounds like a lot, the difference is just about 1% of the entire game size (about 1 GB). When stripping is disabled, the folder size goes up to just 16.1 MB. It does not actually save enough space to matter - for example, Valheim's Managed folder is 6.71 MB right now (with stripping).If you are a Unity game developer (or if you contact a developer for a Unity game): There are many reasons why assembly unstripping is not a good option for Unity games. Assembly stripping is not enabled by default in Unity which means that a developer for Valheim explicitly enabled it. In general, I would suggest to contact the game developer and ask them to disable assembly stripping when building. Simply extract this archive into Valheim_Data\Managed folder and overwrite when asked. I already did that as an example for Valheim: Doorstop itself does its job fine.Īt the moment, the fix is to restore the stripped assemblies by taking them directly from Unity Editor 2019.4.16. In case of Valheim, many types used by BepInEx (and even example assembly in this repo) are stripped away which. In other words, some unused code was removed from game assemblies. The problem is that current builds of the game come with stripped mono base class library assemblies. Doorstop and BepInEx are known to work with Valheim.
