Search Issue Tracker

Won't Fix

Votes

0

Found in

2020.3.45f1

Issue ID

UUM-28071

Regression

No

[iOS] "Undefined symbol" errors appear when building an empty project

--

-

How to reproduce:
1. Download and open the attached project
2. Switch to the iOS platform and build the project.
3. Build the exported project with Xcode.

Expected result: Build succeeds
Actual result: Build fails with errors "Undefined symbol: Il2CppCodeGenWriteBarrier(void**, void*)
Undefined symbol: il2cpp_codegen_get_virtual_call_method_pointer(MethodInfo const*)
Undefined symbol: il2cpp_codegen_get_generic_virtual_method_internal(MethodInfo const*, MethodInfo const*, VirtualInvokeData*)"

Reproduced with: 2020.3.45f1, 2021.3.18f1, 2022.2.6f1, 2023.1.0b3, 2023.2.0a1
Reproducible on: macOS 13.1 Ventura (M2)
Could not reproduce on: macOS 13.1 Ventura (Intel Core i5)

  1. Resolution Note:

    The issue occurs because of leftover build artifacts in the Library folder.
    Workaround: Delete the Library folder before building the project

Comments (2)

  1. unity_62184A3DD9CC1B6F90DF

    Apr 16, 2024 17:10

    Deleting Library did not fix the issue.

  2. Cato11

    Mar 11, 2024 21:12

    I tried the resolution note but it doesn't make any difference. Could you confirm how to fix it?

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.