Search Issue Tracker
Duplicate
Votes
12
Found in
5.5.0p1
Issue ID
863216
Regression
Yes
[iOS] XCode fails to build Mono build for iOS with errors: "Use of undeclared identifier 'Unity', 'UI', 'TextRendering'"
Steps to reproduce:
1. Open User's attached project
2. Build for iOS
3. Open XCode
4. Build for selected Apple device (iPhone or iPad)
Result: Build fails due to the fallowing error in XCode:
RegisterMonoModules.cpp:3290:16: Use of undeclared identifier 'Unity'
RegisterMonoModules.cpp:3295:16: Use of undeclared identifier 'UI'
RegisterMonoModules.cpp:3302:16: Use of undeclared identifier 'UI'
RegisterMonoModules.cpp:3311:16: Use of undeclared identifier 'UI'
RegisterMonoModules.cpp:3314:16: Use of undeclared identifier 'UI'
RegisterMonoModules.cpp:3314:16: Use of undeclared identifier 'TextRendering'
Reproduced with: 5.6.0b3, 5.5.0p3
Not reproduced with: 5.4.3p3 (due to errors in the Console in Unity)
Note:
Build is successful for Android. The issue only appears in XCode.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Shadows are not cast when the Light's CullingMask and the GameObject's Layer do not match
- Graphics.DrawMeshInstanced does not work when 2D Renderer and 2D Shaders are used
- SpeedTree does not move when using WindZone
- "Undeclared identifier 'LinearToSRGB'" error is thrown when creating a color variable with HDR color mode and assigning a Custom Render Texture target in Shader Graph
- Input System package is missing when creating a new HDRP project
Add comment