# Cryptic Error: BCE0051

**URL:** <https://discussions.unity.com/t/cryptic-error-bce0051/399750>\
**Category:** Community Showcases\
**Created:** [October 16, 2009, 7:57pm UTC](https://discussions.unity.com/t/cryptic-error-bce0051/399750 "2009-10-16T19:57:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon\_55236164](https://avatars.discourse-cdn.com/v4/letter/a/bbe5ce/32.png) [@anon\_55236164](https://discussions.unity.com/u/anon_55236164)\
**Post date:** [October 16, 2009, 7:57pm UTC](https://discussions.unity.com/t/cryptic-error-bce0051/399750/1 "2009-10-16T19:57:47Z")

</div>

Last night, my code was working just fine. But when I made a few modifications to a script today, I get this error:

BCE0051: Operator ‘-’ cannot be used with a left hand side of type ‘int’ and a right hand side of type ‘Object’.

It does not tell me what script it is, only the error. Does anyone know how to fix this?

---

<div class="post-metadata">

**Author:** ![GargerathSunman](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/gargerathsunman/32/185234_2.png) [@GargerathSunman](https://discussions.unity.com/u/GargerathSunman)\
**Post date:** [October 16, 2009, 8:42pm UTC](https://discussions.unity.com/t/cryptic-error-bce0051/399750/2 "2009-10-16T20:42:01Z")

</div>

I would suggest searching for all instances of “-” in your script until you find one where the item on the left is an int and the item on the right is an object, myself. You can’t have _that_ many minuses in use.
