We're giving away Borderlands 3 gift key. Click here!

Debug Unity Game

Memory scanning, code injection, debugger internals and other gamemodding related discussion
Locked
UwU
Noobzor
Noobzor
Posts: 5
Joined: Thu Jun 27, 2019 3:35 pm
Reputation: 0

Debug Unity Game

Post by UwU » Fri Jun 28, 2019 9:37 pm

Hello,

I'm interested in debug a Unity game with DnSpy..

These options didn't help:
1. Debug the process - modules aren't listed
2. Attach to process - the game isn't listed there.

What I need?
In this repo: https://github.com/0xd4d/dnSpy-Unity-mono/ they said how to build "mono-2.0-bdwgc.dll" - the game uses the 2019.1.3 version by the date and I didn't find how to build it. I follow these instructions but im stuck.

Does anyone overcome this problem and know what am I doing wrong?

User avatar
GreenHouse
Table Makers
Table Makers
Posts: 242
Joined: Fri Oct 12, 2018 10:25 pm
Reputation: 194

Re: Debug Unity Game

Post by GreenHouse » Fri Jun 28, 2019 10:21 pm

Just download the latest release of dnSpy from the main github, not that one.
Here: https://github.com/0xd4d/dnSpy/releases
Image
You don't like feeling like you're staring at the sun when using the FearlessRevolution forum? Use my dark theme for Stylish/Stylus. Guaranteed satisfaction.
https://userstyles.org/styles/171116/fe ... ution-dark

UwU
Noobzor
Noobzor
Posts: 5
Joined: Thu Jun 27, 2019 3:35 pm
Reputation: 0

Re: Debug Unity Game

Post by UwU » Fri Jun 28, 2019 11:36 pm

GreenHouse wrote:
Fri Jun 28, 2019 10:21 pm
Just download the latest release of dnSpy from the main github, not that one.
Here: https://github.com/0xd4d/dnSpy/releases
did you even read? I am able to patch DLL assemblies BUT I want to DEBUG the Game.

User avatar
GreenHouse
Table Makers
Table Makers
Posts: 242
Joined: Fri Oct 12, 2018 10:25 pm
Reputation: 194

Re: Debug Unity Game

Post by GreenHouse » Fri Jun 28, 2019 11:40 pm

UwU wrote:
Fri Jun 28, 2019 11:36 pm
did you even read? I am able to patch DLL assemblies BUT I want to DEBUG the Game.
Then what are you asking for? All the info is in that Github. Instead of writing that answer you could take some time and check the link that I sent.
Don't bother asking If you're going to be such an ungrateful person: https://github.com/0xd4d/dnSpy/wiki/Deb ... nity-Games
Image
You don't like feeling like you're staring at the sun when using the FearlessRevolution forum? Use my dark theme for Stylish/Stylus. Guaranteed satisfaction.
https://userstyles.org/styles/171116/fe ... ution-dark

UwU
Noobzor
Noobzor
Posts: 5
Joined: Thu Jun 27, 2019 3:35 pm
Reputation: 0

Re: Debug Unity Game

Post by UwU » Fri Jun 28, 2019 11:47 pm

GreenHouse wrote:
Fri Jun 28, 2019 11:40 pm
UwU wrote:
Fri Jun 28, 2019 11:36 pm
did you even read? I am able to patch DLL assemblies BUT I want to DEBUG the Game.
Then what are you asking for? All the info is in that Github. Instead of writing that answer you could take some time and check the link that I sent.
Don't bother asking If you're going to be such an ungrateful person: https://github.com/0xd4d/dnSpy/wiki/Deb ... nity-Games
I've looked on that repo you pasted but the problem iv'e encountered is:
the game doesn't have Mono.dll file it uses a newer Unity version 2019.X. Hence, I need to patch "mono-2.0-bdwgc.dll" and because it's a newer Unity version it's not listed in the repo. Unfortunately, The patched DLLs are below 2019.X

User avatar
GreenHouse
Table Makers
Table Makers
Posts: 242
Joined: Fri Oct 12, 2018 10:25 pm
Reputation: 194

Re: Debug Unity Game

Post by GreenHouse » Fri Jun 28, 2019 11:51 pm

Lately, most games use il2cpp and work differently, so that's the reason probably. If not, then I can't help you.
Image
You don't like feeling like you're staring at the sun when using the FearlessRevolution forum? Use my dark theme for Stylish/Stylus. Guaranteed satisfaction.
https://userstyles.org/styles/171116/fe ... ution-dark

UwU
Noobzor
Noobzor
Posts: 5
Joined: Thu Jun 27, 2019 3:35 pm
Reputation: 0

Re: Debug Unity Game

Post by UwU » Fri Jun 28, 2019 11:54 pm

GreenHouse wrote:
Fri Jun 28, 2019 11:51 pm
Lately, most games use il2cpp and work differently, so that's the reason probably. If not, then I can't help you.
Yet you don't read what I post. And I didn't ask for your help. YOU JUST SPAM TO INCREASE YOUR MESSAGE COUNTER

User avatar
GreenHouse
Table Makers
Table Makers
Posts: 242
Joined: Fri Oct 12, 2018 10:25 pm
Reputation: 194

Re: Debug Unity Game

Post by GreenHouse » Fri Jun 28, 2019 11:57 pm

UwU wrote:
Fri Jun 28, 2019 11:54 pm
Yet you don't read what I post. And I didn't ask for your help. YOU JUST SPAM TO INCREASE YOUR MESSAGE COUNTER
"the game doesn't have Mono.dll file". I guess that you don't need any help then. Good luck.
Image
You don't like feeling like you're staring at the sun when using the FearlessRevolution forum? Use my dark theme for Stylish/Stylus. Guaranteed satisfaction.
https://userstyles.org/styles/171116/fe ... ution-dark

UwU
Noobzor
Noobzor
Posts: 5
Joined: Thu Jun 27, 2019 3:35 pm
Reputation: 0

Re: Debug Unity Game

Post by UwU » Fri Jun 28, 2019 11:59 pm

GreenHouse wrote:
Fri Jun 28, 2019 11:57 pm
UwU wrote:
Fri Jun 28, 2019 11:54 pm
Yet you don't read what I post. And I didn't ask for your help. YOU JUST SPAM TO INCREASE YOUR MESSAGE COUNTER
"the game doesn't have Mono.dll file". I guess that you don't need any help then. Good luck.
You need to stop posting to this thread!

User avatar
SunBeam
Administration
Administration
Posts: 2765
Joined: Sun Feb 04, 2018 7:16 pm
Reputation: 1158

Re: Debug Unity Game

Post by SunBeam » Sun Jun 30, 2019 6:02 pm

This is a Cheat Engine forum. If you're acting rude and bitching over shit you can't comprehend, go to dnSpy forums and post your issue. Wrong place to ask for another product's issues. CE can debug Mono on its own, with no need for other software or external tools. Make sure you indeed have an Unity Mono game and not something else first. Closing this.

Locked

Who is online

Users browsing this forum: No registered users