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?
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Available for freelance work—feel free to reach out.
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?
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Available for freelance work—feel free to reach out.
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)
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Available for freelance work—feel free to reach out.
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.
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Available for freelance work—feel free to reach out.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Disable a spline's gizmo when not selected or disabled. mikechr2000 1 97 02-03-2025, 09:34 AM
Last Post: _Aka_
Information Questions regarding spline colliders and collisions with rigidbodies Spyboticer 7 354 01-20-2025, 12:25 PM
Last Post: _Aka_
  Extrude mesh along spline. New and confused user GhostStalker 3 122 01-02-2025, 09:58 AM
Last Post: _Aka_
  Newly created spline is invisible quickytools 7 226 12-21-2024, 10:14 AM
Last Post: _Aka_

Forum Jump: