Search Issue Tracker
By Design
Votes
0
Found in
5.5.0b7
Issue ID
839129
Regression
No
Combined Mesh is lost from MeshFilter after applying changes to prefab in Playmode
Combined Mesh is lost from MeshFilter after applying changes to prefab in Playmode
To repro:
1. Open Project attached.
2. Open NightTime Scene.
3. In Hierarchy select Highway -> Bridge_ToStreet_Double_Exit.
Note: MeshFilter of this object is Bridge_ToStreet_Double.
4. Press Play.
Note: MeshFilter of this object is now Combined Mesh (root: scene).
5. Change Transform -> rotation of selected object (e.g. x = 0).
Note: Only Mesh is rotated.
6. Press Apply.
7. Exit Playmode.
Actual result: MeshFilter is lost for this object and all other instances of this prefab.
Error in Console: InvalidOperationException: This cannot be used during play mode.
UnityEditor.SceneManagement.EditorSceneManager.MarkSceneDirty (Scene scene) (at /Users/builduser/buildslave/unity/build/artifacts/generated/common/editor/EditorSceneManagerBindings.gen.cs:147)
UnityEditor.GameObjectInspector.DoPrefabButtons (PrefabType prefabType, UnityEngine.GameObject go) (at /Users/builduser/buildslave/unity/build/Editor/Mono/Inspector/GameObjectInspector.cs:355)
(related case 839122).
Expected result: MeshFilter stays on object.
Versions info:
There is no ability to apply changes to prefab in 5.3.6p5 (28930307ad49).
Reproducible in 5.4.1p3 (1b587b7935dc) and 5.5.0b7 (bd91e53964bc).
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment