Problem: Assets/Standard Assets/Image Effects (Pro Only)/CameraMotionBlur.js(102,20): BCE0005:

"Assets/Standard Assets/Image Effects (Pro Only)/CameraMotionBlur.js(102,20): BCE0005: Unknown identifier: ‘supportDX11’."

Suddenly this problem showed up when I’m trying to Play my scene, and I have no idea to fix it. My whole project seems like it has problems now. I’m new to Unity.

Thanks!

More info, from cameramotionblur.js: function CheckResources () : boolean { CheckSupport (true, true); // depth & hdr needed motionBlurMaterial = CheckShaderAndCreateMaterial (shader, motionBlurMaterial); if(supportDX11 && filterType == MotionBlurFilter.ReconstructionDX11) { dx11MotionBlurMaterial = CheckShaderAndCreateMaterial(dx11MotionBlurShader, dx11MotionBlurMaterial); }

Can you share the codes of "CameraMotionBlur.js" script ?

Here you go. [12131-script.txt|12131]

Just to verify, as this seems to be a common problem, are you running Standard Unity, or Pro?

Thanks for the info, I didn't know that. Hope someone can help me. I'm actully running the 30 days trial of the Pro-version.

2 Answers

2

You’ve probably imported an asset that contains image effects scripts from an older version of Unity.

Re import “Image Effects (Pro Only)” from the Assets->Import Package menu and it should fix the problem.

Thanks @Cheesenbizkitz that was the answer.

+1 this solved my problem.

Just wanted to say I ran into this problem as well and Cheesenbizkitz answer fixed my problem! Thanks for answering this question!

There is no any defined variable for “supportDX11” Unknown Identfier error causes from this reason. You have to add a variable like “filterType”

public var filterType : MotionBlurFilter = MotionBlurFilter.Reconstruction

Don't I have already have that? Look under Settings in the script, row 20? Thanks!

No you need a variable like this for example: public var supportDX11 : MotionBlurFilter = MotionBlurFilter.Reconstruction

You can add variable like this: public var supportDX11 : boolean = true; or false :)

or simply: if(supportDX11 && filterType == MotionBlurFilter.ReconstructionDX11) to if(filterType == MotionBlurFilter.ReconstructionDX11) I dont know your whole script so i cant say what is the right way

Check my attached notepad-file, or down below, it should open up in your browser. Could you please help me put in the code in the right places? I would be really happy. :) Thanks!