Hi!
I 90% sure that i can say why your CreateError script don't work. And i can fix it immediately.
I I'll ask a question to be sure. If it's not, you'll send me your CreateError-Script, and i'll find solution in two hours max.
I've been developing games on unity for four and a half years. You can some of them in my portfolio: https://www.freelancer.com/u/castigatmores. Let me help you.
Regards, Vladislav.