• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
3
Question by Ionog · May 20, 2012 at 02:55 AM · errortypeunsupported

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,

Comment
Add comment · Show 16
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image syclamoth · May 20, 2012 at 03:01 AM 1
Share

Tell us the code. Without the code we can't know anything.

avatar image Berenger · May 20, 2012 at 03:07 AM 0
Share

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.

avatar image Ionog · May 20, 2012 at 03:19 AM 0
Share

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,

avatar image Drakestar · May 20, 2012 at 05:52 AM 0
Share

So, what is the namespace for Vector3f. AFAI$$anonymous$$ it's not a built-in Unity type. Also, which language is this?

avatar image FLASHDENMARK · May 20, 2012 at 07:50 AM 0
Share

I have got the same problem. The error just magically started appearing last night(unprovoked, that is).

avatar image Berenger · May 20, 2012 at 03:29 PM 0
Share

Tried your project, got the error in both run and editor mode, but couldn't find what caused it :(

avatar image aldonaletto · May 20, 2012 at 05:25 PM 0
Share

Looks like some internal error - there's no Vector3f in any script

avatar image FLASHDENMARK · May 20, 2012 at 05:42 PM 0
Share

Yes, an internal error. As previously mentioned it does not point to any error in your scripts, but to some internal script you cannot open. I submitted a bug report doing the beta of Unity3D 3.5 and upgrading to the full release of 3.5 fixed it, but I guess it is back :(

@lonog what version of Unity are you running?

avatar image Ionog · May 20, 2012 at 05:45 PM 0
Share

Im having always the last version, so i have 3.5.2 now.

avatar image FLASHDENMARK · May 20, 2012 at 05:46 PM 0
Share

Well, that is unfortunate. I am running 3.5 and thought upgrading to 3.5.2 could fix the problem, but no dice apparently.

avatar image Ionog · May 20, 2012 at 09:40 PM 0
Share

I solved the problem... i continued with the project normally, and suddenly in one execution, the error didnt appear.

I changed some things in the scripts, but i dont know what was the problem, sorry.

Thanks for the answers :).

avatar image FLASHDENMARK · May 20, 2012 at 10:25 PM 0
Share

Hmm, weird. $$anonymous$$y error is gone too! Yay!!

avatar image Bunny83 · May 20, 2012 at 11:33 PM 0
Share

I'm pretty sure it's related to the serialization of assets. Our well known (managed) type Vector3 is called Vector3f in Unity's native code part (c++). It seems that some of the serialized data inside a prefab got messed up.

$$anonymous$$aybe Unity can receive some kind of $$anonymous$$i updates in the background? :D Who knows...

Btw: does that mean this question can be closed? (outdated or something like that?)

avatar image coala · Jun 04, 2012 at 08:47 AM 0
Share

@lonog @OrangeLightning I have the same problem,everytime I enter “play”or“stop”,and it always appears “Unsupported int type vector”three times!And also I found,when I shut “Unity”and open it again,it also appears three times. Yay!!

avatar image coala · Jun 04, 2012 at 10:08 AM 0
Share

@lonog @OrangeLightning

I have the same problem,everytime I enter “play”or“stop”,and it always appears “Unsupported int type vector”three times!And also I found,when I shut “Unity”and open it again,it also appears three times. Yay!!

avatar image Bunny83 · Jun 04, 2012 at 10:17 AM 0
Share

@coala: Don't post such annotations as Answer. Also you posted it two times and if you have read the other comments you might realise that this is an error somewhere in the Unity engine and not in one of your scripts. Without any most information what components you're using and what Unity functions you're calling we can't say anything about that.

We are a community that works with Unity like you. We are not the developers of Unity. If you think it's a bug, file a bug report in Unity.

Btw. i converted your answer into a comment..

2 Replies

· Add your reply
  • Sort: 
avatar image
1

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.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image FLASHDENMARK · Aug 10, 2012 at 08:32 PM 0
Share

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.

avatar image Gamemaster · Aug 10, 2012 at 08:43 PM 0
Share

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.

avatar image
1

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.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

13 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Why can't I use the Asset Store Manager? 0 Answers

Fix "Type size exists in both System.drawing and netstandard" 1 Answer

NullReferenceException: Object reference not set to an instance of an object - error in AdvancedBuildingSystem! 0 Answers

ArgumentOutOfRangeException: Argument is out of range. Parameter name: index System. 0 Answers

Assets/Scripts/CarCameraScript.js(35,33) '+' Cannot be used with a left hand side of type 'float' and a right hand side of type 'UnityEngine.Vector3' Help? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges