- Home /
BCE0018: The Name PostEffectsBase does not denote
i got a few things from the assets store but i'm having some problems, when i load up any of the demo scenes i get this error Assets/Standard Assets/Image Effects (Pro Only)/Image Based/Sources/EdgeBlurEffectNormals.js(15,37): BCE0018: The name 'PostEffectsBase' does not denote a valid type ('not found'). also /DepthOfField.js(44,28) and BloomAndFlares.js(46,30)
I tried reimporting all, just importing image effect pro package. uninstalling and reinstalling unity but nothing works how can i try these and test them in unity free 3.5.5 if they cant run... could seem one help me with want i'm doing wrong.
yep. I'm having the same problem, but in Unity4. I have been using these scripts just fine in 3.5, but now in 4 they're not working. arg.
thats not working i have change the location of file to assets but still facing same error.
Answer by youarebritish2 · Oct 15, 2014 at 11:09 PM
I know this is long-answered by now, but I just spent an hour or so fussing with this problem and none of the solutions I found fixed it. That's when I realized that PostEffectsBase was included in the Sample Assets directory, which, since it's a js file, was not compiling in the proper order and causing the scripts to be unable to see it. Moving it into Standard Assets fixed the problem.
Thanks! $$anonymous$$y copy of this file was in a folder that belonged to some asset. I just did a search for it, and moved it to the Assets/Standard Assets folder just as you said here, and bam error gone.
Answer by zombience · Oct 09, 2012 at 09:47 PM
I found an answer (sorry, lost the link that had a much better explanation than I'm capable of), but the basic solution was to move all of your other folders/scripts that are part of asset bundles and packages. Move them all into the Standard Assets folder in your project.
For example, I was having trouble with Image Effects Pro, and the solution was to move the Editor folder (that had some editor scripts for this package) into the Standard Assets folder, AS WELL AS moving an unrelated shader package into the Standard Assets folder. I don't know why the other package should have caused this one to throw this error, but moving it solved the problem.
Thanks guys you just save my life ... Well in fact with your coments I still have hairs :)
downloaded the hard surface pro shader pack, then had image effects errors thanks for the answer
Answer by yunspace · Oct 16, 2012 at 02:05 PM
To add to the above answer, you might also need to re-import all the latest Standard Assetes packages from the Unity installation directory, and make sure they are under /Standard Assets instead of /subdirectory/plugin name/Standard Assets/.
For me, I somehow had "Image Effects" in my base Assets/ folder as well as "Image Effects (Pro Only)" under Standard Assets. I removed the former, and re-imported the latter to resolve.