Search Issue Tracker
Feature Request
Votes
0
Found in
2022.2.0b16
Issue ID
UUM-20452
Regression
No
Burst throws an error "Burst error BC1355" while compiling a code when using a Profile Marker
Steps to reproduce:
1. Open the “IN-19720_BurstError-2” project
2. Enable Burst Compilation (Jobs → Burst → Enable Compilation)
3. Observe the Console
Expected result: Compiled successfully
Actual result: Error “Burst error BC1355: Expected to find an unmanaged version of method UnityEngine.Profiling.Profiler.BeginSampleImpl(System.String name, UnityEngine.Object targetObject), but no such method could be found” is thrown
Reproducible with: 1.7.3 (2022.2.0b15, 2023.1.0a18)
Not reproducible with: 1.8.1 (2022.2.0b15, 2023.1.0a18)
Coult not test with: 2020.3.41f1, 2021.3.13f1, 2022.1.23f1 (Package errors)
Reproduced on: macOS Monterey 12.5.1 (Intel)
Note:
With Burst 1.8.1 different errors are thrown:
2022.2.0b15 - “InvalidOperationException: Burst failed to compile the function pointer `Void __codegen__OnUpdate(IntPtr, IntPtr)`”
2023.1.0a18 - “Burst error BC1016: The managed function Unity.Entities.SystemState.get_World(Unity.Entities.SystemState* this) is not supported"
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
- Domain Reload loading popup is dark when Editor Theme is set to "Light"
- Scene Views breaks and errors are spammed in the Console when the Game view is shrunk vertically to the minimum, and the Aspect Ratio is 16:9 or 16:10
- Slider Fill Area disappears after undoing “Set Native Size” change
- Crash with multiple stack traces when playing video on a render texture with low-end graphics devices
- Circle handle of the Game view scale slider bar disappears when the scale is set to 1x
Resolution Note:
This is a feature request - we intend to make all the APIs we support usable with Burst. Not all can be at this time.