Mod Development Limitations
API Limitations
For security or technical reasons, the current version restricts mods from accessing certain APIs at runtime.
Packages Blocked at Runtime
UnityEditorMono.CecilUMod-ModTools
Namespaces Blocked at Runtime
System.IO.*System.ReflectionSystem.Reflection.EmitVexe.Fast.ReflectionSystem.Runtime.InteropServicesRoslynCSharpRoslynCSharp.*UMod.AssetSharingUMod.BridgeUMod.DebuggingUMod.ModdableUMod.Moddable.ProvidersUMod.ScriptingUMod.Scripting.RuntimeUMod.Settings
Types Blocked at Runtime
System.AppDomainSystem.Threading.ProcessSystem.Diagnostics.ProcessUMod.Mod(exceptUMod.ModHost)
Members Blocked at Runtime
UnityEngine.Application.QuitUMod.ModHost.AllLoadedModHostsUMod.ModHost.AllModHosts
Members with Modified Runtime Behavior
This version introduces a new security mechanism. Some Unity APIs will be removed from the restricted API list, but calls to these APIs will still be subject to certain restrictions. We will continue working to make more APIs available.
-
UnityEngine.Application.OpenURL(The deprecated restricted APIWarudo.Core.Utils.ApplicationHelper.SafeOpenURLnow directly callsUnityEngine.Application.OpenURLwithout modification.)- This API now only allows the
http,https,mailto, andfileprotocols. - The URL must be a fully qualified URL.
- When using the
fileprotocol, only existing files and directories located within the Warudo data directory may be accessed. - Access to the
Binaries,Clients,Playground, andPluginsdirectories within the Warudo data directory, including all of their subdirectories, is prohibited. - Parent-directory traversal using paths such as
.or..is prohibited.
- This API now only allows the
Members Allowed in Relaxed Mode
As this version introduces a new mod loading mechanism, certain potentially risky APIs may now be used with the user's consent.
None yet.
P/Invoke is disabled globally.
Shader Limitations
You can use custom shaders in Built-in Render Pipeline (BiRP) mode.
In Warudo Pro's Universal Render Pipeline (URP) mode, shaders that use Render Features are not currently supported out of the box. The shader author must contact our technical support team to arrange compatibility support. This limitation may change in the future.
The following URP shaders are currently supported:
- Unity's built-in URP shaders
- NiloToon
- PotaToon
About These Limitations
We are continually improving the Warudo mod development experience. In future releases, we may remove some restrictions, control access by rewriting affected functions, and provide more alternatives. We also plan to offer solutions for special use cases that currently require bypassing these limitations.