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 will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
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 will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
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: 1)
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
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 will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Spawn object on Curvy Spline. ktpttd 3 107 11-20-2019, 01:38 PM
Last Post: _Aka_
  Dummy spline points hnngaf 1 68 11-17-2019, 06:01 PM
Last Post: _Aka_
  Refresh spline doesn't seem to be working dazz777 4 146 11-13-2019, 11:13 PM
Last Post: _Aka_
  Same Spline Extrusion with variable width MarioBag 5 822 11-04-2019, 01:56 PM
Last Post: _Aka_

Forum Jump: