BUG : Character Controller Bitwise operation '|' on boolean values error

I have been getting this bug since 3.5 I think :

“Assets/Standard Assets/Character Controllers/Sources/Scripts/ThirdPersonController.js(193,54): UCW0003: WARNING: Bitwise operation ‘|’ on boolean values won’t shortcut. Did you mean ‘||’?”

Could UT fix this bug? Its stopping my other extensions from loading correctly. My PlayMaker would sometimes “disappear” from the toolbar and I am suspecting it is this CharacterController script that’s causing it.

Use the bug reporter app.

–Eric

I will submit it next time I see it again. It seems to go away after I reloaded the scene.

Well, you know exactly what causes it, so you can submit that at any time. The thing is, bugs generally don’t get fixed by talking about them on the forums, they need to go through the bug reporter so they get in the system properly.

–Eric

Just open up the Thirdpersoncontroller.js, go to line 193 and add a second “|” in the middle…fix’d.

I know, I just did that. But every time Unity update (since 3.5) if I use character controller I get that error. Its quite annoying to go in and fix that bug if Unity would just fix it at their end so the update wouldn’t have this bug.