Search Unity

Question bcl.exe error: Invalid value reference from metadata when compiling burst AOT.

Discussion in 'Burst' started by wechat_os_Qy0wSaO-99nK5MHRTo62xQpSo, Feb 19, 2024.

  1. wechat_os_Qy0wSaO-99nK5MHRTo62xQpSo

    wechat_os_Qy0wSaO-99nK5MHRTo62xQpSo

    Joined:
    Dec 1, 2021
    Posts:
    1
    We are building player with com.unity.burst@1.4.8 on Mac with M2 silicon, XCode 15.0.1.
    Here is the error message.

    This error only occurs on iOS building process, Android and Standalone Windows can be built without this error.

    Error can occurs if --debug=Full parameter was added to the arguments of bcl.exe, but --debug=LineOnly or --debug=None would works.

    How can I solve this problem? I'm looking forward to your reply! Thanks!
     
  2. ZilvinasKrasauskas

    ZilvinasKrasauskas

    Unity Technologies

    Joined:
    Jun 23, 2021
    Posts:
    12
    Hi, thanks for reaching out. Can you try building with a newer version of Burst (1.8.12)? There have been quite a few iOS changes and fixes since 1.4.8.