MFPS error

General support.
Post Reply
User avatar
pyatyorochka
Contributor
Contributor
Posts: 31
Joined: Sun Jun 13, 2021 4:55 am

I import Ancient Enviroment pack and have this: Assets\MFPS\Scripts\Misc\Camera\bl_PostProcessEffects.cs(48,28): error CS0311: The type 'MotionBlur' cannot be used as type parameter 'T' in the generic type or method 'PostProcessProfile.GetSetting<T>()'. There is no implicit reference conversion from 'MotionBlur' to 'UnityEngine.Rendering.PostProcessing.PostProcessEffectSettings'.
I re-install postpreocessing, but it don't help me
User avatar
Lovatto
Admin
Admin
Posts: 1834
Joined: Sun Dec 07, 2014 3:18 pm
Contact:

What Unity Editor and Post-Processing package version are you using?
How to find your Invoice Number: Here
How to find your Order Number: Here
User avatar
pyatyorochka
Contributor
Contributor
Posts: 31
Joined: Sun Jun 13, 2021 4:55 am

Unity 2020.3.11f1
Post Processing 3.1.1
User avatar
Lovatto
Admin
Admin
Posts: 1834
Joined: Sun Dec 07, 2014 3:18 pm
Contact:

I just set up the same environment with MFPS 1.8.2 but I don't get the error,
Are you using any other asset that includes a MotionBlur class maybe?

Try the following:

- In the script bl_PostProcessEffects.cs -> add this line at the very top of the script:

Code: Select all

using MotionBlur = UnityEngine.Rendering.PostProcessing.MotionBlur;
How to find your Invoice Number: Here
How to find your Order Number: Here
Post Reply