hadashiA / VYaml

The extra fast, low memory footprint YAML library for C#, focued on .NET and Unity.
MIT License
305 stars 18 forks source link

Unity issue with CS0570 #27

Closed Whimsyduke closed 1 year ago

Whimsyduke commented 1 year ago

I get a issue in Unity with the error message: Assets\VYaml\Runtime\Parser\Utf8YamlTokenizer.cs(38,30): error CS0570: 'T' is not supported by the language I use 2022.2.18f1 and 2021.3.24f1 test and got the same error

hadashiA commented 1 year ago

@Whimsyduke Please check your player settings. Perhaps the API Compatibility Level should be .NET standard, not .NET 4.x.

Whimsyduke commented 1 year ago

Yes, its this reason. I found it in other place and fogot to replay,sorry.