As the title says, I've switched my project to IL2CPP and no longer see my SplineController.OnEndReached events firing. If I switch it back, or test in the editor, things work fine, but I require il2cpp builds now for another package. I attempted to find the source, and was thinking maybe its related to the inherited class UnityEventEx, which seems to use some reflection methods, which likely have issues in il2cpp. I'm not sure how to proceed and was hoping you could help. I'm not sure which version of Curvy we're using, but its a somewhat old version, and we're on unity 2017.4.12
I hope you can suggest something to fix it, and thanks!
I can try to upgrade if you know that nothing will break between versions, but the project is in a very late stage and a workaround would be preferable to trying to redo curves across multiple scenes.
2.1.0 is 3 years old, and was released even before I owned Curvy (if curious about the ownership change, read this). Curvy improved a lot since, and they were definitely breaking changes introduced since. It was done gradually with Obsolete warnings at compilation guiding the users on what to modify, but jumping from 2.1.0 to latest version will probably take some time, especially if you use the API a lot. So except if you need to use one of the new features, or need improvements in performance, staying on 2.1.0 would be the safest choice.
I will try to reproduce the issue and provide you with a workaround.
Can you please try to remove code stripping and tell me if it fixes the issue? Also, does the issue happen when building a desktop build with IL2CPP?
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Available for freelance work—feel free to reach out.