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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Add comment