Search Issue Tracker

Fixed

Fixed in 3.1.5

Votes

0

Found in [Package]

3.1.3

3.1.4

Issue ID

CMCL-1689

Regression

No

"ObjectDisposedException" is thrown when removing "Orbital Follow" Component and GameObject has an "Axis Input Controller" Component

Package: Cinemachine

-

How to reproduce:
1. Create a new Unity project and install the Cinemachine package
2. In the Hierarchy, right-click -> Cinemachine -> Cinemachine Camera
3. Add the "Orbital Follow" and "Input Axis Controller" to the GameObject
4. Remove the "Orbital Follow" Component and observe the Console

Expected results: No errors are thrown
Actual results: "ObjectDisposedException" is thrown into the Console

Reproducible with: 3.1.3 (6000.2.0b2)

Reproducible on: macOS Sequoia 15.4 (M1), Windows 11

First lines of error:
ObjectDisposedException: SerializedProperty m_ControllerManager.Controllers.Array.data[0].Input.InputAction has disappeared!
UnityEditor.SerializedProperty.SyncSerializedObjectVersion () (at <53f93a00447a41a9a374b5fd04ee6a78>:0)

  1. Resolution Note (fix version 3.1.5):

    Fixed in 3.1.5 (next release)

Add comment

Log in to post comment