Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error while making prefab having curvy Generator script
#1
Hi,
I am using curvy to create a track spline which dynamically extends as the player covers distance. So the setup consist of a CurvySpline and Generator to spawn the track and side walls.
The track is generated from primitive mesh from the Generator graph using spline and for the walls I am using a wall prefab in the graph with the same spline.

When I make a prefab of the whole spline object setup, it is throwing some errors.
Could you please help me with any suggestion or solutions.
Making a prefab of a spline setup will be helpful for me to manage various types of spline setups across scenes.
I have attached a screen shot of the error for reference.

Thanks, 
Soumya


Attached Files Thumbnail(s)
           
Reply
#2
Hi
Everything is explained here:
https://forum.curvyeditor.com/thread-694-post-2575.html#pid2575
Have a nice day
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
Thanks, for clarifying it. I was trying with disabling the GenerateObject node. Got it, the error is because of a restriction from Unity on prefab then.
Reply
#4
You are welcome. To be fair, due to the new restrictions on prefabs, I could implement things differently to go around them, but that task is not on the top of the my todo list for now, but I will eventually do that.
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
Question Error after upgrade: (are you missing a using directive or an assembly reference?) boriskourt 3 5 05-17-2022, 12:32 PM
Last Post: _Aka_
  Curvy 8.2.0 is live _Aka_ 0 5 04-26-2022, 02:09 PM
Last Post: _Aka_
Exclamation Runtime error when using Curvy Generator with Game Object Deform studentloan 3 10 04-22-2022, 09:00 PM
Last Post: _Aka_
Bug No demos running without exception with IL2CPP with Curvy Spline 8 studentloan 10 14 04-22-2022, 08:52 PM
Last Post: _Aka_

Forum Jump: