Home > Enterprise >  when I import Mirror into unity I get this error: The type or namespace name 'ReadOnlySpan<&
when I import Mirror into unity I get this error: The type or namespace name 'ReadOnlySpan<&

Time:10-09

When I import mirror into unity im getting this error and I dont know how to fix it

Assets\Mirror\Runtime\NetworkReaderExtensions.cs(156,47): error CS0246: The type or namespace name 'ReadOnlySpan<>' could not be found (are you missing a using directive or an assembly reference?)

CodePudding user response:

I had the same error, so I updated unity to the most recent LTS 2021.3.11f1 and that fixed it.

  • Related