Search Issue Tracker
Won't Fix
Votes
0
Found in
5.6.1f1
Issue ID
914522
Regression
No
[IL2CPP][iOS] Some public UI text elements set in Inspector become null in iOS IL2CPP builds
Public UI text elements set in Inspector get stripped on iOS builds.
Steps to reproduce:
1) Open the attached project.
2) Build for iOS.
3) Run on a device.
Observe the exception in Xcode console:
NullReferenceException: A null value was found where an object instance was required.
at Search_Hotel..ctor () [0x00000] in <filename unknown>:0
When using Mono2x, it crashes in:
EDTPlanner`m_wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr at mscorlib.dll.s:354324
This reproduces with code stripping disabled as well. There is a link.xml in the project, which preserves UntiyEngine.UI.Text, but that doesn't help with the issue.
Reproduced on:
2017.1.0a1, 2017.1.0b7, 5.6.1p1
Device tested:
iPhone 7 Plus iOS 10.3.2
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Asset creation in the Project Browser is not always undone/inconsistent when the undo shortcut is pressed right after creating an asset
- JobTempAlloc memory leak warning is thrown when the Player is shut down
- Graphics State Collection warm-up does not work when using with Addressables Shaders
- "Baked Shadow Radius" field is visible but inactive when when the Shadow Type is set to "Hard Shadows" under the Light Component
- Crash on OnDemandScheduler::HandleImportWorkerLogs when performing various Unity operations
Add comment