-
Notifications
You must be signed in to change notification settings - Fork 131
Can't debug objects in LINQ name space #142
Comments
Hello @MAYP-dotswan! Sorry to hear that you are unable to resolve this. I've sadly never heard about this error before, but I can make an attemt in helping you debug it. For me to debug this, I will have to try reproduce this. Could you please supply the following values:
Better with too much into than too little. |
Hello thank you for response, It works fine when I build the project in any platform. also, in editor it will work fine normally only I can't fetch their data in debug mode. |
Hello again, sorry but did you able to reproduce the issue?! |
No sorry I haven't found the time. I'll allocate some time for it this week. So sorry! |
No problem just checking in if you find a time. |
Hi again. Some questions:
From some testing, I was unable to reproduce this with Unity 2021.2.7f1 in both VS 17.0.2 and Rider 2021.3.2. No exceptions appeared when I was stepping through the code, and I could even step into the functions without any issues. Please confirm the version of Rider or VS that you're using, as well as clarify the Unity version. Does this also happen for you on later versions of Unity or only some? One thing I noticed is that my package contains the This is just a theory, but this could be the source of the issue. My guess is that your Rider installation doesn't have the decompilation enabled, or something like that, and when it tries to debug the Newtonsoft.Json code it fails due to the missing As I'm unable to reproduce, I'm unable to research further. Excuse me for invoking stress but I just instated a 30 days trial of Rider, so if this is connected to Rider and Rider only then we only have 30 days left to debug this issue. |
Hello, so sorry for wrong information specially the JSON sample. |
This is not directly a problem with this repository but as you mentioned that unity is forking your repo and now using it as internal inside unity. I get problem with it only when I try to debug the project.
each time I place a breakpoint and try to evaluate for example
Jtoken.Value<>()
orJObject.SelectToken
I getException of type 'System.Security.VerificationException' was thrown: Method with token 100665429 not found in type Newtonsoft.Json.Linq.Extensions
exception and the value is not shown to me. but everything is working fine in project and after I step forward from the breakpoint I can see the value is assign to variable and it's correct.I send a bug report to unity, ask it from stack overflow and also in unity forum but no one know what's the problem.
The text was updated successfully, but these errors were encountered: