I have similar problem with Underrail. I have newest version of .Net Frameworks installed, I've downloaded latest trainer, but the game crashes after a minute or two of playing.
Debug Log:
Information: 0 : Underrail, 1.1.0.10, STEAM
Information: 0 : Trainer version: 1.7
Information: 0 : Trainer is up to date.
Information: 0 : Attaching to process: underrail
Warning: 0 : DotNET: WARNING !!! Expect .NET framework 4.8.3801.0 but game is running 4.8.3815.0. This can result in failed code not found errors. To solve this, please re-install the expected dotnet framework and restart game. If the trainer is working fine, ignore this warning.
Information: 0 : Successfully attached
Information: 0 : Trainer activated
you need framework and the Core, as i mentioned in the post above.