Search Issue Tracker
By Design
Votes
1
Found in
2021.3.29f1
2022.3.8f1
2023.1.10f1
2023.2.0b6
2023.3.0a2
Issue ID
UUM-47928
Regression
No
[IL2CPP]Build fails with the error "undefined symbol: SyncFiles" when building with IL2CPP
Reproduction steps:
1. Open the attached project "ReproProj" with Android Platform
2. Build and Run
Expected result: Build successfully finishes
Actual result: Build fails with error “Building Library\Bee\artifacts\Android\iz17e\libil2cpp.so failed with output: ld.lld: error: undefined symbol: SyncFiles“
Reproducible with: 2021.3.29f1, 2022.3.8f1, 2023.1.10f1, 2023.2.0b6, 2023.3.0a2
Reproducible on: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested
Notes:
- Does not reproduce with Mono
- Reproduces with Windows Standalone Platform, error is similar but differs “LNK2019: unresolved external symbol SyncFiles referenced in function“
Comments (1)
-
Alecto111
Sep 06, 2023 06:12
Wanted to tell you thanks, I could build successfully after deleting or commenting on all dllimport codes in my project as I realised they do nothing important for the project. So huge thanks as you put me in the right direction, and you can close the bug. Thanks again.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
Resolution Note:
This is a specific issue related to the project in this case.