I’m getting the following error on the console when trying to play the timeline:
Cinemachine ‘DocumentationSortingAttribute’ does not contain a constructor that takes 2 arguments
Sounds like you have a corrupted Cinemachine install. Do you have a mix of old and new versions?
No…only the latest from package manager. It was working fine all day until it wasn’t.
I think it started after I applied a “Hard Look At” to one of the cameras. I have since removed them, but the eroor persists. The errors show up even if cinemachine is uninstalled.
Applying a HardLookAt can’t possibly change the code!
Are you sure you don’t have remnants of another CM version in your project?
In the past, when CM was an asset store package, some assets shipped with embedded versions of CM. Are you 100% sure you don’t have one of those?
I’ll have to assume I do, even though I don’t see it. What do you recommend I do next?
Try searching in your assets for DocumentationSortingAttribute
Nothing found…CORRECTION. It found this script: CinemachineSameAsFollowObject.cs and CinemachinePostFX.cs
Where is that script? Normally that belongs to the CM package. If it’s in your assets, outside the package, how did it get there?
It’s in the Assets folder in _UnityExtensions/Cinemachine
Delete it. Where did it come from? Is anyone using? Anything else suspect in there?
No idea where it came from. There’s a Base and PostFX folder, with an Editor and Runtime folder within.
Deleting that folder seems to have worked. Thank you!
The entire Cinemachine folder is suspect. Try deleting the whole thing. (I hope you made a backup).
Does the error go away afterwards?
EDIT: Just saw your last post. Excellent!