Skip to content
Discussion options

You must be logged in to vote

I followed this issue: https://github.com/RageAgainstThePixel/com.openai.unity/issues/147
and fixed it by adding a link.xml file to my project:

<linker>
  <assembly fullname="Newtonsoft.Json">
    <type fullname="Newtonsoft.Json.Serialization.DefaultContractResolver" preserve="all"/>
    <type fullname="Newtonsoft.Json.Converters.*" preserve="all"/>
  </assembly>
  <assembly fullname="System.ObjectModel">
    <type fullname="System.Collections.ObjectModel.ReadOnlyDictionary`2" preserve="all"/>
  </assembly>
</linker>

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ArnaudC2Care
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant