newman55/unity-mod-manager

Planetbase 1.3.8 only works when UnityEngine.MonoBehaviour is patched

teor2345 opened this issue · 5 comments

Currently UnityModManagerConfig.xml tries to patch UnityEngine.Canvas.cctor, but Planetbase 1.3.8 only works when UnityEngine.MonoBehaviour.cctor is patched.

Maybe this will work?
[UnityEngine.UIModule.dll]UnityEngine.Canvas.cctor:After

[UnityEngine.UIModule.dll]UnityEngine.Canvas.cctor:After

I also tried that and it didn't work! The game froze on launch instead.

Could you please show me the full line of what worked for you?

My Data/Managed/UnityModManager/Config.xml contains:
<EntryPoint>[UnityEngine.dll]UnityEngine.MonoBehaviour.cctor:Before</EntryPoint>

I've attached the full file to this comment, I had to compress it because GitHub doesn't support XML files.

Config.xml.zip

Added. Thanks.