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
- "Playmode tint" is applied to Color and Gradient fields when in Play mode
- [HDRP] Scene corrupts when baking Reflection Probe with custom TextureImporter preset added to Texture Importer default
- HDRP Wizard window UI components overlap when HDRP Wizard window is docked and resized horizontally
- VideoPlayer component fails to play MP4 files located under the StreamingAssets folder
- Terrain Tools icons are low quality
Add comment