Search Issue Tracker

Duplicate

Votes

0

Found in [Package]

2.1.4 - Collections

Issue ID

ECSB-460

Regression

No

"Burst error BC1091: External and internal calls are not allowed inside static constructors: Unity.Jobs.LowLevel.Unsafe.JobsUtility.get_ThreadIndexCount()" thrown when building the project with Managed Stripping Level set to high

Package: Unity Native Collections

-

How to reproduce:
1. Open the attached project "Projjj.zip"
2. Build the project

Expected results: Build is successful
Actual results: Build fails with errors "Burst error BC1091: External and internal calls are not allowed inside static constructors: Unity.Jobs.LowLevel.Unsafe.JobsUtility.get_ThreadIndexCount()"

Reproducible with: 2.1.4 (2022.2.3f1)

Reproducible on: Windows 10

  1. Resolution Note:

    This issue duplicates https://jira.unity3d.com/browse/UUM-39612 which resolved the issue in 2022.3.3f1
    Duplicate of another internal issue: UUM-39612: [BurstAuthorizedExternalMethod] is being stripped from player builds causing burst compilation errors in static constructors

Comments (3)

  1. noncasted

    Jun 19, 2023 23:36

    I have fixed problem by removing Collections package that I installed on my own. After that Unity automatically installed 2.1.0-pre.11 as dependency and build succeed. Probably Unity did not updated Collections package to fit other packages

  2. noncasted

    Jun 19, 2023 23:27

    Same error appeared when updated unity version to 2023.1.0f1

  3. Emily60

    Jun 14, 2023 09:24

    Hi everyone I am Emily Naomi wanna give a big thanks to this wonderful psychic for bringing my husband back to me… I never really believed in magic spells or anything spiritual but a trusted friend opened my eyes to the truth about life. My marriage was heading to divorce a few months ago. I was so confused and devastated with no clue or help on how to prevent it, till I was introduced to this psychic Priest Ray that did a love spell and broke every spiritual distraction from my marriage. A day later my husband started showing me love and care even better than it used to be, he’s ready to talk things through and find ways for us to stay happy. It’s such a miracle that my marriage can be saved so quickly without stress. You can also contact him for help by email psychicspellshrine@usako. net

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.