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
- Highlighter.Highlight does not find window when using class name as window title
- Highlighter.Highlight highlights a different component when multiple components have the same property path
- Highlighter.Highlight does not find elements in an array or list when the array or list is collapsed
- [URP][NRP] RenderPass, BeginSubPass, and EndRenderPass errors are thrown when Native RenderPass is enabled
- D3D11 swapchain error pop-up appears and the Editor shuts down when Generating Lighting with Probe Volumes present
Add comment