Logger does not know filename
Zemogiter opened this issue · 4 comments
I'm updating FastAirlock to UMM. I'm getting this error upon starting the game:
System.NullReferenceException: Object reference not set to an instance of an object
at FastAirlock.CustomAirlock.update (Single timeStep2) [0x00000] in <filename unknown>:0
The important part is the <filename unknown>:0
- without that bit of information I have no idea where the issue is. How can I add something like public StackTrace (bool fNeedFileInfo)
to Logger.LogException
?
Source code of updated mod: https://github.com/Zemogiter/FastAirlock-Remake
Try adding a pdb
I alredy have a .pdb file in the same directory as the .dll file (Planetbase/Mods). Tried debuging it in visual studio via attaching to Planetbase.exe
process but nothing shows up. And Debug > Windows > Modules menu is empty. What am I missing?
It just doesn't work that way, you need to do magic there. rimworld tutorial dnspy guide
I've also never debugged a mod myself, so I can't share my experience.
Planetbase does not contain UnityPlayer.dll
in it's install directory.
Tried to do other steps and now I'm getting a "failed to load mono" error.