Search Issue Tracker
Fixed
Fixed in 2.6.X
Votes
1
Found in [Package]
2.6.1
Issue ID
SPLB-288
Regression
No
[Splines] Removed spline automatically reappears at runtime in prefab SplineContainer
Issue: After adding and removing a spline within a spline container on a prefab (or child object of a prefab), the removed spline will automatically be added back during runtime. This is not the case when the object is not a prefab.
Steps to reproduce
- Create a new Unity project
- Import the Splines package
- Create two game objects with spline containers
- Add a spline to each spline container (spline count = 1 in each spline container)
- Make one of these game objects a prefab
- Add an additional spline in both spline containers (spline count = 2 in each spline container)
- Remove the additional spline in both spline containers (spline count = 1 in each spline container)
- Enter play mode
- Observe the spline container component on both game objects
Expected result
Both spline containers should contain only 1 spline
Actual result
The spline container on the prefab object in the scene has automatically added another spline at runtime. So, the non-prefab object correctly has 1 spline while the prefab object now contains 2.
Versions tested
Unity 2022.3.21f1 (Splines 2.5.2), Unity 2022.3.35f1 (Splines 2.6.1), 6000.0.13f1 (Splines 2.6.1)
Video link: [https://drive.google.com/file/d/1w0U7XCa3nMnW-j-XIPWTyY9jtC44LuOx/view]
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Channel remapping dropdown in the Terrain Layer does not open when clicked on the title
- The Editor freezes indefinitely when a large number of elements are entered in the Subgraphs or Categories lists
- Some Visual Effects package Assets links to documentation are not working
- Heatmap asset’s documentation button in the Inspector window leads to “Sorry... that page seems to be missing!” page when clicked
- Crash on MonoBehaviour::CallMethodIfAvailable when performing various actions
Add comment