Item highlight in shipping packaged project differs from editor standalone

Hello. I followed this video on how to get highlights working on my game. It uses the custom depth buffer to achieve the highlight.

I got the results I wanted in my project. When I mouse over the object, it highlights as expected.

https://puu.sh/AZshQ/c896bbda09.jpg

But when I packaged my project, the object is fully covered by the highlight color.

http://puu.sh/AZsjs/64fbca4620.jpg

This is the material script I have.

http://puu.sh/AZsgt/38c4c5dbbb.jpg

I have no clue why this would differ. And I don’t know where to start.

I was able to fix this by just double checking the material instance values.

For anyone who is making use of the same material as I am. This are the settings I used.

http://puu.sh/AZwXO/0455398897.png