• 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).

Show more comments

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