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
- SerializedPropertyChangeEvent is invoked when initially binding PropertyFields in custom Editor
- UI Panel is not visible when HDR and STP filter are enabled
- Crash on GfxDeviceD3D11Base::DrawBuffersIndirect when opening a specific project
- OnTriggerExit2D is called in Play mode when undoing component adding
- Builds fail with "Execution failed for task ':launcher:checkReleaseDuplicateClasses'" error when the newer version of the In-App Purchasing package is installed on a specific project
Add comment