Search Issue Tracker

Fixed

Votes

1

Found in [Package]

1.0.8

Issue ID

N4EBUG-1

Regression

No

"Burst error BC1016: The managed function System.String.get_Length(System.String* this) is not supported" thrown when building a project with Managed Stripping Level higher than "Minimal"

Package: Unity Netcode

-

How to reproduce:

1. Open the attached project "BuildTest.zip"
2. Build And Run the project

Expected results: The Build is successful
Actual results: Build fails with errors ".\Library\PackageCache\com.unity.logging@1.0.0-pre.37\Runtime\TextLogger\TextBuilder.cs(59,17): Burst error BC1016: The managed function {{System.String.get_Length(System.String* this)}} is not supported"

Reproducible with: 1.0.0-pre.65 (2022.2.14f1)

Reproducible on: Windows 10

Comments (2)

  1. dherault

    May 27, 2023 02:48

    Also happens with an Api Compatibility Level set to .Net Framework.
    Reverting to .NET Standard 2.1 fixes the issue.

  2. IncoleC1

    Apr 17, 2023 12:44

    Also the case for logging a FixedString inside FunctionPointer

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.