Can someone explain what is Unable to cast value to Object? Its urgent.
✓ ANSWER ACCEPTED
What does "Unable to cast value to Object" means?
1 answer
✓ Accepted answer
You tried to add/give value to an object, which u are not supposed to do, make sure you refer to a property of the object.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
That means you didn't convert a value from one type to another correctly. If your script is having this problem, you should explain the whole thing since errors like this is common.