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"
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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Skinned Mesh Renderer with multiple Animator Components does not render when "Optimize Game Objects" is enabled
- [iOS]Certain characters are not displayed when using iOS devices with 18 OS and newer
- Trees do not render in 'Unity Terrain - URP Demo Scene'
- Silent crash when clicking in Scene View in a specific project
- The Player renders black on a Quest headset when MSAA, Post Processing, and Spacewarm depth submission are enabled
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.
IncoleC1
Apr 17, 2023 12:44
Also the case for logging a FixedString inside FunctionPointer