Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Spline events not working in IL2CPP build (Android)
#1
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!
Reply
#2
Hi,
There is a menu showing the Curvy version. Its the info button in the Curvy Options submenu:
https://curvyeditor.com/documentation/to..._s_content
Can you tell me what version you use?
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Reply
#3
Version is 2.1.0

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.
Reply
#4
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?
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Reply
#5
Also, please test this link.xml (found the root folder of Curvy), and see if the issue is still there


Attached Files
.zip   link.zip (Size: 340 bytes / Downloads: 2)
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Reply
#6
(05-23-2019, 05:45 PM)_Aka_ Wrote: Also, please test this link.xml (found the root folder of Curvy), and see if the issue is still there

Oh sorry for forgetting to come back to this! Your xml file worked great and curvy is doing its thing again. Thanks so much!
Reply
#7
Good news then.
That xml file is part of one of the updates post-your-version. So no need to replace it when updating to the latest version.
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Best way to duplicate a spline with an offset Kapistijn 7 632 02-07-2026, 07:59 PM
Last Post: _Aka_
Smile Constant speed along a spline? tfishell 1 485 11-13-2025, 11:32 AM
Last Post: _Aka_
  SplineController Ignores Follow-Up and Chooses Wrong Spline Josenildo 7 4,046 07-29-2025, 09:15 PM
Last Post: _Aka_
  Curvy Line Renderer for UI Spline? gekido 7 5,605 07-13-2025, 07:11 PM
Last Post: _Aka_

Forum Jump: