Confirmed. Crash will happen when you have troops with formation class set to "Skirmish" in e1.4.0.
Edit: I debugged it. The related scene is "sturgia_town_b". It will crash when the scene level is 3. I found the reason is that the "attacker_boundry" game entity in scene "sturgia_town_b" lacks...

I didn't use harmony before so I used your code as a fast tutorial. In your code "detachmentManager" is defined but not used. The first argument of the last call to Invoke should be "detachmentManager" rather than "detachment". I fixed it in my mod. Of course I will give credit to you.

By the way I decompiled the patch you made and find that there're some errors in your patch. Anyway I used harmony to fix it and will release it in next release of my mod. Thanks for your code to demonstrate how to use harmony!

When I created the mod, my purpose was to provide a set of features including RTS camera. All the features have nothing to do with campaign mode, which is the reason I name it to "Enhanced Mission". Since the RTS camera feature has became the key feature, it's a good idea to rename it.

This bug causes crash in siege battle when using some mods such as RTS Camera .
But it also can be reproduced without using any mods.
Reproduce steps:
Enable cheat mode. Start the game without using any third-party mods.
Enter custom battle, choose siege battle and add a ballista (or any siege...