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
- Crash on CollectAllSceneManagerAndObjectIDs when opening a specific Scene
- GPU device suspended error when replaying a video in the Video Player with NVIDIA Vertical Sync set to Fast
- GPU device suspended error when replaying a video in the Video Player with NVIDIA Vertical Sync set to Fast
- SetComponentEnabled uses class instead of struct when constraining Enableable Component type
- [iOS] Application.deepLinkActivated does not get invoked while app is running when UIApplicationSceneManifest is added in Info.plist
Add comment