- Home /
Question by
subzer0 · Mar 26, 2020 at 11:39 AM ·
c#unityeditor
Assets\Cinemachine\PostFX\CinemachinePostProcessing.cs(30,6): error CS1729: 'DocumentationSortingAttribute' does not contain a constructor that takes 2 arguments
Hello,
I am using Unity 2019.3.6f1 and I am trying to work with the kart game from Unity sample templates and when I open the editor I get this error: Assets\Cinemachine\PostFX\CinemachinePostProcessing.cs(30,6): error CS1729: 'DocumentationSortingAttribute' does not contain a constructor that takes 2 arguments
Here is the code:
namespace Cinemachine.PostFX
{
/// <summary>
/// This behaviour is a liaison between Cinemachine with the Post-Processing v2 module. You must
/// have the Post-Processing V2 stack asset store package installed in order to use this behaviour.
///
/// As a component on the Virtual Camera, it holds
/// a Post-Processing Profile asset that will be applied to the Unity camera whenever
/// the Virtual camera is live. It also has the optional functionality of animating
/// the Focus Distance and DepthOfField properties of the Camera State, and
/// applying them to the current Post-Processing profile, provided that profile has a
/// DepthOfField effect that is enabled.
/// </summary>
//ERROR IS IN THIS LINE:
[DocumentationSorting(101, DocumentationSortingAttribute.Level.UserRef)]
[ExecuteInEditMode]
[AddComponentMenu("")] // Hide in menu
[SaveDuringPlay]
I hope someone can help me fix this.
Thanks.
Comment
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Receiving UDP data in Unity? 0 Answers