Search Issue Tracker

Active

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

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.