"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!
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.
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
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); }
– DenzillahCan you share the codes of "CameraMotionBlur.js" script ?
– DeternalHere you go. [12131-script.txt|12131]
– DenzillahJust to verify, as this seems to be a common problem, are you running Standard Unity, or Pro?
– MemigeThanks 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.
– Denzillah