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
- “Open” button in Inspector does not function for certain Assets
- Channel remapping dropdown in the Terrain Layer does not open when clicked on the title
- The Editor freezes indefinitely when a large number of elements are entered in the Subgraphs or Categories lists
- Some Visual Effects package Assets links to documentation are not working
- Heatmap asset’s documentation button in the Inspector window leads to “Sorry... that page seems to be missing!” page when clicked
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.