Can't Add Watcher to Evaluate object Rider Unity

Recently I Got problem with Newtonsoft class in unity. in the actual code every thing works fine but when I add watcher to JToken object I get blow error:

Exception of type 'System.MissingMethodException' was thrown: Method MetadataMethod(6000A0D Newtonsoft.Json.Linq.JToken::SelectToken,1p) could not be resolved on type MetadataClassType(Newtonsoft.Json.Linq.JObject)

 

or some times getting this one:

Exception of type 'System.Security.VerificationException' was thrown: Method with token 100665429 not found in type Newtonsoft.Json.Linq.Extensions

but the thing is it's only happens when I get it in debug and with watcher or Evaluate Expression.

it some times works fine but almost most of the time I get this error in debug mode.

in actual game the data is properly get and there is no problem in there I even assign data to string and it works fine in game but I just can't see the data in any way with debug mode on.

I try to remove All .csproj file and it doesn't work.

also have to mention it mostly happens to Newtonsoft.Json.Linq namespace not Newtonsoft.Json itself. so I can for example evaluate JObject but when I try to Evaluate JObject.SelectToken function I will get this error.

1 comment
Comment actions Permalink

Hello,

Thank you for contacting Rider Support. In order to take a closer look at the issue, we will need some additional information. Please do the following:
- Navigate to `Help | Diagnostic tools | Choose Trace Scenarios` and enable Trace scenario for Debugger;
- Reproduce the issue, collect the full log bundle via `Help | Collect logs`, disable Trace scenarios;
- Attach the resulting log bundle to this ticket for further investigation.
- Share a repro project or a code sample.

Please send all the information via submitting a new support request `Help | Contact Support`.

K.R.

Sofia

0

Please sign in to leave a comment.