Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
No demos running without exception with IL2CPP with Curvy Spline 8
#1
Bug 
Hello,

As the title suggests, all the demos and even a simple Curvy Spline with generator scene throws a null Exception error on

ThreadPoolWorker.cs, on line 222:

Code:
private static readonly Func<T> OptimizedInstantiator = Expression.Lambda<Func<T>>(
            Expression.New(typeof(T))
        ).Compile();


Is this a known issue or something that can fix this?

Thank you
Reply
#2
Hi
Noted. Working on both your issues right now. Will keep you updated.
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
What Unity version are you building with?
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Reply
#4
Also, what Curvy version?

Edit: Tried with Curvy 8.0.1 on 2019.4.34f1 and I had no build issues. Will wait for you to give me the exact reproduction versions
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
Hi Thank you for the quick reply,

My Curvy version is 8.1.0 and Unity version is 2020.3.33f1
Reply
#6
Noted, I am on it.
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Reply
#7
Same as for the other issue: a quick fix that I am sharing, will dig deeper in the issue a bit later:
In ToolBuddy\Dependencies\DevTools\Classes\ThreadPoolWorker.cs
replace all occurrences of
#if UNITY_IOS == false
with
#if UNITY_IOS == false && ENABLE_IL2CPP == false
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Reply
#8
Unfortunately this quick fix results in a build error Sad I've attached a screenshot, it's so weird, it says there are compiler errors, but
it shows no compiler errors before the build button is clicked.

FYI quick fix for the previous issue isn't working, I mentioned in the reply there but telling here as well in case you missed it Sad


Attached Files Thumbnail(s)
   
Reply
#9
That's weird indeed. Is there any more details about the compiler errors? Try clearing the build folder just in case.
I am sending you via PM a zip with the modified Curvy asset, that contains both changes I described earlier. Please try to build with it, instead of your Curvy version, to exclude the possibility that you made some mistake integrating the changes.
If this possibility is excluded, and if there is no additional information about the compiler errors, then I will have to wait for your reproduction case to advance on this subject.
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Reply
#10
Yes that sounds good, I haven't gotten any private message from you but I am sending you a private message with that repro project.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Smile Constant speed along a spline? tfishell 1 196 11-13-2025, 11:32 AM
Last Post: _Aka_
  SplineController Ignores Follow-Up and Chooses Wrong Spline Josenildo 7 3,335 07-29-2025, 09:15 PM
Last Post: _Aka_
  Curvy Line Renderer for UI Spline? gekido 7 4,773 07-13-2025, 07:11 PM
Last Post: _Aka_
  Is there a way to get the position of each ControlPoint in spline by API? Chanon 1 1,758 06-07-2025, 09:44 AM
Last Post: _Aka_

Forum Jump: