Search Issue Tracker

Fixed in 2018.4.X

Fixed in 2020.1.X

Votes

0

Found in

2018.4

2019.3.9f1

2019.4

2020.1

2020.2

Issue ID

1260385

Regression

No

[Cinemachine] Cinemachine in a specific Prefab throws exceptions while an object is selected or any window is resized

Package

-

How to reproduce:
1. Open attached project "ReproCM_*.zip" and scene "Factorywood_Interior"
2. Enter/Leave Play mode (this is is only needed if the issue does not reproduce)
3. In Hierarchy window, click on 'Level' object
4. Resize any Window
5. Observe Console window

Expected result: no errors are thrown
Actual result: "InvalidOperationException: Destroying a GameObject inside a Prefab instance is not allowed.
UnityEditor.Undo.DestroyObjectImmediate (UnityEngine.Object objectToUndo)" is thrown

Reproducible with: 2018.4.24f1 (2.1.13, 2.6.0), 2019.4.3f1, 2020.1.0b15, 2020.2.0a17 (2.6.0)

  1. Resolution Note (fix version 2018.4):

    Prefab instances were not being correctly detected.  Fixed.

  2. Resolution Note (fix version 2020.1):

    Fixed in CM 2.6.1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.