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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment