Search Issue Tracker
By Design
By Design in 2.6.X
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
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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Build and Run button greyed out for locally invalid architecture, despite remote build is specified
- Graphics Settings: “Use Defaults” checkboxes misaligned in Tier Settings section
- VFX Graph particles are not culled when using URP and Frustum Culling is enabled on VFX Mesh Output
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
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.
Resolution Note (2.6.X):
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.