Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The pdb generated by dnlib cannot be loaded by unity #507

Open
Misaka-Mikoto-Tech opened this issue Jun 30, 2023 · 2 comments
Open

The pdb generated by dnlib cannot be loaded by unity #507

Misaka-Mikoto-Tech opened this issue Jun 30, 2023 · 2 comments

Comments

@Misaka-Mikoto-Tech
Copy link

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

@wtfsck
Copy link
Contributor

wtfsck commented Jul 8, 2023

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

Do you want to send a PR and fix this?

@sunnamed434
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants