Search Issue Tracker

Fixed in 2.7.1

Votes

0

Found in [Package]

2.6.1-preview.6

Issue ID

1283984

Regression

Yes

Cinemachine throws an ArgumentOutOfRange exception when destroying a Camera with DontDestroyOnLoad

Package: Cinemachine

-

How to reproduce:
1. Open user-submitted project (CinemachineIssue.zip)
2. Open the MainScene
3. Enter Play Mode
4. Press the 'Space' key

Expected result: no exceptions are logged in the Console window
Actual result: an ArgumentOutOfRangeException is logged in the Console window

Reproducible with: 2018.4.28f1, 2019.4.12f1, 2020.1.9f1, 2020.2.0b6, 2021.1.0a1(Cinemachine 2.6.1-preview.6, 2.6.3)
Not reproducible with: 2018.4.28f1, 2019.4.12f1, 2020.1.9f1, 2020.2.0b6, 2021.1.0a1(Cinemachine 2.6.0)

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.