Unsupported int type vector

Please help me with this Error “Unsupported int type vector”.

Break prefab instance, delete the prefab, then create prefab again. Worked for me.

This might be a Unity bug. The message basically means Unity was expecting an integer, float or string, but got a vector, so did not know how to proceed. This is deep in the editor code, so it’s hard to know from your question what caused the error to appear.

I got this error frequently, however it never ceased the program. Now, today it just did. Just for the record I altered a prefab. I added an empty object to act as a parent to it.

Restart Unity and the error shoud be solved!

A restart didn’t work for us. We fixed it by removing the component causing the problem and re-adding it.

You create a prefab that has a variable, keep the name and changed it to a vector. the prefab still looking for that type. to solve it you have to rename it.

How can you tell which prefab is causing it?