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

[bug] guid download url UnityPlayer_Win64_player_il2cpp_x64 #1

Closed
adeliktas opened this issue Mar 29, 2024 · 4 comments
Closed

[bug] guid download url UnityPlayer_Win64_player_il2cpp_x64 #1

adeliktas opened this issue Mar 29, 2024 · 4 comments

Comments

@adeliktas
Copy link
Contributor

adeliktas commented Mar 29, 2024

[unity-pdb] PDB name: UnityPlayer_Win64_player_il2cpp_x64
[unity-pdb] PDB guid: 7F069D49145484D805D76CFBB9E421C
[unity-pdb] PDB age: 1
[unity-pdb] Downloading from URL http://symbolserver.unity3d.com/UnityPlayer_Win64_player_il2cpp_x64.pdb/7F069D49145484D805D76CFBB9E421C1/UnityPlayer_Win64_player_il2cpp_x64.pd_...

guid is supposed to be "7F069D490145484D805D76CFBB9E421C" https://symbolserver.unity3d.com/UnityPlayer_Win64_player_il2cpp_x64.pdb/7F069D490145484D805D76CFBB9E421C1/
not sure what's exactly the issue, but considering all of the other dir have a length of 33 (https://symbolserver.unity3d.com/UnityPlayer_Win64_player_il2cpp_x64.pdb/), padding "0" after 8 chars = 7F069D49 (followed by 24 chars 145484D805D76CFBB9E421C) seemed appropriate at least in this case.

Other than that works like a charm.

@adeliktas
Copy link
Contributor Author

i took another look at the issue and sym dir and padding makes no sense. Something is wrong with resolving the guid...

@SamuelTulach
Copy link
Owner

SamuelTulach commented Apr 6, 2024

https://github.com/SamuelTulach/ida-unity-pdb-downloader/blob/main/UnityPdb/UnityPdb/utils.cpp#L18

should be %08X%04X%04X%02X%02X%02X%02X%02X%02X%02X%02X to make it padded properly

will push the changes when I time

@adeliktas
Copy link
Contributor Author

https://github.com/SamuelTulach/ida-unity-pdb-downloader/blob/main/UnityPdb/UnityPdb/utils.cpp#L18

should be %08X%04X%04X%02X%02X%02X%02X%02X%02X%02X%02X to make it padded properly

will push the changes when I time

That solves it. I did change the PR to just include that format fix #2

@SamuelTulach
Copy link
Owner

Merged.

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

2 participants