You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Exception stack traces do not show file or line number in the Exception.StackTrace property, the Exception.ToString() output, or output_log.txt.
To Reproduce
Create a mod that throws, catches, and logs an exception.
Build the mod using the Debug configuration.
Execute debug.bat and have both the .pdb and ˛.dll.mdb files in the Mods folder. I do this in the post-build event.
Start the game and have the mod throw the exception.
Expected behavior
Each item in the stack trace that is located in the mod's assembly should mark the source file and the line number.
Screenshots
output_log.txt
MODLOADER ERROR: System.NullReferenceException: Object reference not set to an instance of an object
at Backpack.ItemButtonBehaviour.set_Target (UnityEngine.GameObject value) [0x00000] in :0
at Backpack.Backpack.PickUp (UnityEngine.GameObject o) [0x00000] in :0
at Backpack.Backpack.PickupButton_Press () [0x00000] in :0
The text was updated successfully, but these errors were encountered:
Describe the bug
Exception stack traces do not show file or line number in the
Exception.StackTrace
property, theException.ToString()
output, or output_log.txt.To Reproduce
debug.bat
and have both the.pdb
and˛.dll.mdb
files in the Mods folder. I do this in the post-build event.Expected behavior
Each item in the stack trace that is located in the mod's assembly should mark the source file and the line number.
Screenshots
output_log.txt
The text was updated successfully, but these errors were encountered: