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.2.2p1

Issue ID

741863

Regression

No

[IL2CPP] Application crashes when FlareLayer class gets stripped

IL2CPP

-

1. Open attached project
2. Build to iOS with IL2CPP
3. Add in info.plist new string with name "FacebookAppID" and enter this string: 1622057821405505
4. Add "in-app purchases" capability
5. Enable Objective-C Exceptions
6. Build project and it will crash with error "Could not find class ID 124"

or

1. Open built project in Build folder
2. And it will crash with "Could not find class ID 124"

Workaround: Disable "Strip engine code" in player settings

or

In XCode project > Classes > Native > UnityClassRegistration.cpp add following lines:
void RegisterModule_FlareLayer();
RegisterModule_FlareLayer();

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.