Search Issue Tracker

By Design

Votes

0

Found in [Package]

2.6.1

Issue ID

SPLB-290

Regression

No

Spline Meshes are overridden when adding Splines that reference the same Mesh and have the same name to a Scene

Package: Splines

-

Reproduction steps:
1. Open the attached “ASDQWE” project
2. Open the “Assets/Scenes/SampleScene.unity” Scene
3. Enter the Play Mode
4. Observe the Splines in the Scene View

Expected result: The Scene contains three straight and one curved Spline
Actual result: The Scene contains four curved Splines

Reproducible with: 2.5.2 (2021.3.42f1), 2.6.1 (2022.3.42f1, 6000.0.15f1)

Reproducible on: MacOS Sonoma 14.5 (Intel), Windows 11 (user’s)
Not reproducible on: No other environment tested

Workaround: Create different meshes for different Splines

Notes:
- The same issue can be observed when adding the same Spline prefab to the Scene
- In the 2.5.2 (2021.3.42f1) version the issue is observable when entering the Play Mode but not when adding the Spline prefabs to the Scene

  1. Resolution Note:

    When duplicating a prefab that includes a SplineExtrude component, it's expected that both the original and the duplicate will reference the same mesh asset. To resolve this, you can set the mesh in the MeshFilter component to None. This will enable you to generate a new mesh asset from the SplineExtrude component by clicking the button that appears in the component.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.