IAmBatby / LethalLevelLoader

A Lethal Company API to allow for custom Level & Dungeon integration.
MIT License
32 stars 22 forks source link

Add embedded debug symbols (& fix inconsisent indentation in csproj) #120

Closed Hamunii closed 2 months ago

Hamunii commented 2 months ago

Adds embedded debug symbols, so errors give the line number for the file where error happened, instead of an IL offset.

Example:

[Error  : Unity Log] NotImplementedException: The method or operation is not implemented.
Stack trace:
LethalLevelLoader.Plugin.Awake () (at ./Plugin.cs:48)
UnityEngine.GameObject:AddComponent(Type)
BepInEx.Bootstrap.Chainloader:Start()
UnityEngine.InputSystem.InputSystem:.cctor()

And uhh I also fixed the inconsistent indentation in the csproj file while I was at it, so I hope that's fine.

IAmBatby commented 2 months ago

Implemented myself manually, Thank you for pointing this out.