dnlib icon indicating copy to clipboard operation
dnlib copied to clipboard

The pdb generated by dnlib cannot be loaded by unity

Open Misaka-Mikoto-Tech opened this issue 2 years ago • 2 comments

When stringHeap is empty, dnlib will skip it, but Unity's mono will force the heap to be read. In this case, the pdb file generated by dnlib will crash when it is loaded by unity. image

mono code veryfy_string_heap

Misaka-Mikoto-Tech avatar Jun 30 '23 08:06 Misaka-Mikoto-Tech

Nice find. Can't wait until Unity starts using .NET (Core) instead.

Do you want to send a PR and fix this?

wtfsck avatar Jul 08 '23 04:07 wtfsck

Nice find. Can't wait until Unity starts using .NET (Core) instead.

Do you want to send a PR and fix this?

As far as I know mono won't migrate to net core, they even saying this on their Unity forum, but would be great

sunnamed434 avatar Jul 09 '23 10:07 sunnamed434