Search Issue Tracker
Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.
Postponed
Votes
0
Found in
5.5.1f1
Issue ID
884180
Regression
Yes
Incorrectly generated serialization code causes type mismatch with IL2CPP on iOS
Steps to reproduce:
1) Open the latest attached project.
2) Build for iOS.
3) Deploy to a device.
Error appears in Xcode:
"Bulk_Assembly-CSharp_1.cpp:4536:31: Cannot initialize a parameter of type 'U3CSendFileU3Ec__Iterator2_t174215966 *' with an lvalue of type 'U3CSendFileU3Ec__AnonStorey4_t2023521227 *"
When building the same project with Mono2x, the build crashes in:
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
* frame #0: test`m_Assets_com_ViSoft_Serialization_PanoramaUnpacker_Awake at Assembly-CSharp.dll.s:140218
Indicating, that Awake method in PanoramaUnpacker.cs is responsible for the crash. Looking at the code in Awake, it seems that some kind of serialization takes place.
Android projects are generated without problems (deploying to a device not tested).
Most likely this is a regression (couldn't test due to project breakage).
Reproduced on:
2017.1.0a2, 5.5.2p2
Devices tested:
iPhone 7 iOS 10.3
iPhone 5 iOS 10
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android] FPS does not match the targeted FPS when it is set with Application.targetFrameRate
- RenderPipelineManager.activeRenderPipelineTypeChanged does not detect changes when changing the Render Pipeline Asset outside of Play Mode
- The Scene View becomes gray and "NullReferenceException" errors are thrown when attaching the Unity Editor process to RenderDoc
- Memory usage rapidly rises when changing colors in the color wheel
- Physically Based Sky's Horizon and Zenith Tint Color Selection Bars don't have immediate access to color pickers
Add comment