- Home /
"Build failed. Method not found: 'Int32'
Debugging UDK is a nightmare. So hoping Unity simplifies troubleshooting and offers interactive debugging. The problem is whenever I set a breakpoint on a Project in Monodevelop, I keep getting this error using Unity 4.5 / 4.6 :-
"Build failed. Method not found: 'Int32 System.Environment.get_CurrentManagedThreadId()'"
If there's some extra set-up required between Unity and Mondevelop I'd welcome some advice. I'm testing this on multiple machines and keep getting the same error. Cheers!
Bump ***
Could really use a link explaining how to get Interactive Debugging working between Unity & $$anonymous$$onodevelop....
Although I'm not sure of the error that you got, but have you select Unity in $$anonymous$$onodevelop's "attach to process"? You can do this by clicking the play button in $$anonymous$$onodevelop and select Unity from the list. The breakpoint should hit (if the line of code is run) after that.
Answer by SilentSin · Jan 16, 2015 at 07:15 AM
Step 1: get Visual Studio 2013 Community Edition.
Step 2: get UnityVS.
Step 3: interactive debugging is one of the features of UnityVS. I don't use it, but there's probably some explanation of the setup process on their page.
Step 4: never touch MonoDevelop again.