Skip to content

2020.3 Import error: 'JsonSerializerSettings' does not contain a constructor that takes 1 arguments #99

@MartijnPW

Description

@MartijnPW

Hi,

When I import SocketIOUnity into a fresh project in Unity 2020.3.23f1 I get this error

Library\PackageCache\com.itisnajim.socketiounity@00e176c\Runtime\SocketIOClient.Newtonsoft.Json\NewtonsoftJsonSerializer.cs(23,32): error CS1729: 'JsonSerializerSettings' does not contain a constructor that takes 1 arguments

Any thought what could be the issue here?

Tried it also in 2021.3, there it worked fine.

I know 2020.3 is an ancient Unity version, but our company project is still using it, so I would love to get this working!

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions