- Home /
Unsupported int type Vector3f ERROR
I have this error for 8 Times when i press "Play" button, and 8 times more when i stop the game.
"Unsupported int type Vector3f"
I dont have any idea where is the problem.
Thanks,
Tell us the code. Without the code we can't know anything.
We can only guess that Vector3f is a class of yours and that you tried to cast it into an int, probably not on purpose.
Is not my class :S. The error dont tell me if the problem is in my scripts. the Console shows this too: Error in file: C:/BuildAgent/work/300357e52574df36/Editor/Src/Prefabs/Property$$anonymous$$odification.cpp at line:436
Here is the project, http://dl.dropbox.com/u/32598835/PathFinding%20v3.9.rar , if it can help you to understand the problem.(I put here the link because is a proyect for helping spanish people, this is posted in a spanish forum)
Sorry for my English, I am Spanish.
Thanks a lot,
So, what is the namespace for Vector3f. AFAI$$anonymous$$ it's not a built-in Unity type. Also, which language is this?
I have got the same problem. The error just magically started appearing last night(unprovoked, that is).
Answer by Gamemaster · Aug 10, 2012 at 08:24 PM
I have a possible reason to this problem.
Did you have a variable of the type int and then change it to type Vector3 while keeping the same variable name?
That's what showed the error for me. When I changed it back to int and created a new Vector3 variable it disappeared and then I got rid of the int variable.
No, I have not. This error conveniently showed itself again just a few hours ago, but now it is gone again. Weird. It just seems strange that if the error is within my code that it does not point to any of my scripts.
It's probably not pointing to your scripts because it's not being directly caused by your script. The error shows up from one of Unity's built in scripts, we just don't know what triggers it.
Answer by akeplinger · Oct 08, 2012 at 04:03 PM
That was it. Looks like Unity had a bit of attic clutter left over after I changed the type of a public variable. Was a texture, changed it to a GUIStyle. Editor interface just got stuck on the old parameter types.
Your answer
![](https://koobas.hobune.stream/wayback/20220613071710im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Why can't I use the Asset Store Manager? 0 Answers
Error in script 1 Answer
Error building player (unsupported data) 0 Answers