Search Issue Tracker

Fixed in 1.3.0.preview.1

Votes

0

Found in [Package]

1.1.2, 1.2.1

Issue ID

1209708

Regression

No

[Burst] "Burst error BC0102" is thrown when accessing Dynamic Buffer element data using Explicit Struct Layout

Package: Burst

-

How to reproduce:
1. Open the attached project ("case_1209708-BugReporting.zip")
2. Open the repro scene ("SampleScene")
3. Enter Play Mode
4. Inspect Console

Expected results: No errors are thrown
Actual results: "Burst error BC0102: Unexpected internal compiler error while processing function" is thrown

Reproducible with: 2019.3.0f6, 2020.1.0a21
Couldn't test up to 2019.3 (package requires Unity version 2019.3 or above)
Reproducible with package versions: 1.1.2, 1.2.1

  1. Resolution Note (fix version 1.3.0.preview.1):

    For people on the 1.2.x release, it can be worked around by changing this:
    return buffer.Something.Value.Property;
    To this:
    var temp = buffer.Something;
    return temp.Value.Property;

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.