03-18-2016, 01:39 PM
Hello,
I'm currently encountering a problem using splines in prefabs in Unity 5.3.1f1.
What I'm trying to achieve is making a prefab that contain a spline with two control points and a generator to have a road template.
I want to place that prefab all around the world, adjust the amount and position of control points to quickly make a road network and be able to adjust every road in one go easily by applying the changes on the original generator.
The problem is that when i use the prefab and extend the spline that it contain, the order of the control point mix up after i re open the scene.
Here is an exemple with a new spline without generator :
The problem seems to be much worse with the actual prefab i m trying tu use :
Unity do not display any errors when this occurs.
Do you have an solution to avoid that issue or a workaround that can fit our workflow ?
in advance, thank you for your help.
I'm currently encountering a problem using splines in prefabs in Unity 5.3.1f1.
What I'm trying to achieve is making a prefab that contain a spline with two control points and a generator to have a road template.
I want to place that prefab all around the world, adjust the amount and position of control points to quickly make a road network and be able to adjust every road in one go easily by applying the changes on the original generator.
The problem is that when i use the prefab and extend the spline that it contain, the order of the control point mix up after i re open the scene.
Here is an exemple with a new spline without generator :
The problem seems to be much worse with the actual prefab i m trying tu use :
Unity do not display any errors when this occurs.
Do you have an solution to avoid that issue or a workaround that can fit our workflow ?
in advance, thank you for your help.