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
- Frame Debugger's Hierarchy is not navigable when connecting it to the project built with the Volumetric Fog
- The number of SetPass Calls is increasing when attaching the Frame Debugger to the Player
- Scrollbar briefly appears in the Package Manager during installation process even when the package list is too short to require scrolling
- Script resets to use the previous Skybox color when saving the Scene changes
- [2D] Sprite Library Editor window throws NullReferenceException error when entering Play Mode with Game View maximised
Add comment