applejag/Newtonsoft.Json-for-Unity.Converters

Bug: QuaternionConverter is adding itself to a list of converters many times

EpsilonD3lta opened this issue · 4 comments

Expected behavior

One QuaternionConverter in a list of QuaternionConverters in UnityEngine.Math

Actual behavior

Many QuaternionConverters
image

Steps to reproduce

  • Not sure, probably recompilation ads it?

Details

  • Windows 10
  • Android build target
  • Package version 1.6.0
  • Unity 2022.3.0f1

I have noticed that there is not Mathematics.QuaternionConverter in the list (at least in my case), maybe it is related

Hmm. Curious. Thanks @EpsilonD3lta for reporting this.

What if you update to 1.6.2 that was released today?

If it persists, a workaround could be to reset the config by deleting the file in Assets/Resources/

Well I can reset it (I reset the changes in version control) but it keeps adding itself again.

However, it seems that the new version fixed it. What a nice coincidence :) . I checked if update is available before creating this issue, but I had package manager opened for few hours and the update was not visible until I manually refreshed it.

Nice!

This issue might pop up with future types, but until then I'm just going to close this issue as resolved.

Could be investigated to find the root cause, but I'm more leaning towards "only fix it when it's broken"