• 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

Fixes in upcoming releases of Unity Answers

Using a good tone of voice when replying to posts

Requests for new tags/topics

How to use the META space

How to use the Moderator space

Questions in topic: casting

  • Unanswered Questions
  • Recommended Questions
Once you sign in you will be able to subscribe for any updates here
avatar image

Jamora answered

Casting objects in Unity using a local class of an object

Feb 26, '14 c#·object·classes·arraylist·casting

2 Replies

0 Votes

avatar image

wibble82 edited

InvalidCastException: Cannot convert from source type to destination type using a Rigidbody2D

Feb 17, '14 error·movement·rigidbody·rigidbody2d·casting

2 Replies

0 Votes

avatar image

diggerjohn published

Way to fix shadows not casting after importing unity store prefab?

Jan 25, '14 bug·shadows·casting

2 Replies

0 Votes

avatar image

Benproductions1 commented

proper C# casting for GetComponents on Audio Source?

Jan 19, '14 c#·audiosource·casting·getcomponents

1 Reply

1 Votes

avatar image

AmazingB published

Cannot cast from source type to destination type

Jan 3, '14 casting

0 Replies

0 Votes

avatar image

whydoidoit commented

Dynamic Casting during runtime

Dec 20, '13 casting

1 Reply

0 Votes

avatar image

pajamajama commented

Why do I have to explicitly cast my MovieTexture?

Dec 13, '13 play·movietexture·cast·casting

1 Reply

2 Votes

avatar image

MakeITeasy commented

InvalidCastException error and logic error

Dec 5, '13 javascript·array·textures·casting·invalidcastexception

1 Reply

0 Votes

avatar image

Crystalline commented

Casting Variables

Nov 18, '13 variable·casting

1 Reply

0 Votes

avatar image

hal69 commented

GameObject.Find() type casting question

Nov 11, '13 type·casting

1 Reply

3 Votes

avatar image

Bunny83 edited

Cannot cast form source type to destination type?

Oct 25, '13 error·transform·cast·casting·getcomponentsinchildren

2 Replies

0 Votes

avatar image

Ludeme Games commented

Problems with lightmapping

Sep 30, '13 lightmap·shadow·casting

1 Reply

1 Votes

avatar image

lachesis edited

Null reference exception with elusive cause

Sep 18, '13 nullreferenceexception·casting·forloop

1 Reply

0 Votes

avatar image

fafase commented

Object to Foo is okay, but Object[] to Foo[] gives error. Closed

Aug 28, '13 array·object·casting

1 Reply

0 Votes

avatar image

flaviusxvii commented

Problem with objects, their positions and casting in a loop

Aug 27, '13 object·casting

0 Replies

0 Votes

avatar image

jacobschellenberg commented

Calling functions from another controller through casting

Jul 31, '13 collision·casting

1 Reply

0 Votes

avatar image

GerryM answered

Inventory Programming: Derived Class Issue (C#)

Jun 15, '13 c#·inspector·inventory·casting

2 Replies

2 Votes

avatar image

travellinguncle published

Directly accessing enum types from other scripts (javascript)

May 30, '13 javascript·enum·casting·operator

0 Replies

0 Votes

avatar image

Sisso edited

InvalidCastException with .net datatypes but not with UnityEngine.Object

May 2, '13 casting·types

1 Reply

0 Votes

avatar image

MachCUBED commented

Fonts not displaying properly when loaded through script

Apr 9, '13 c#·javascript·font·casting

0 Replies

0 Votes

avatar image

willkzhang published

Programming in C?

Mar 19, '13 runtime·casting

2 Replies

0 Votes

avatar image

Bunny83 answered

foreach Element Problem

Mar 15, '13 foreach·components·casting·polymorphism

1 Reply

0 Votes

avatar image

HazelWolf11 commented

Why can't I typecast a Vector4 in a function call asking for one?

Jan 17, '13 vectors·casting

1 Reply

0 Votes

avatar image

greay answered

Implicit downcast from Object to boolean

Dec 1, '12 javascript·casting·warnings

1 Reply

1 Votes

avatar image

Fattie edited

Javascript array, use with a struct ?

Oct 3, '12 javascript·casting·javascript arrays

3 Replies

2 Votes

avatar image

Muuskii commented

for(...in...) causing problems

Aug 9, '12 casting·#pragma strict

2 Replies

0 Votes

avatar image

dylanfries answered

Assigning an object to a SerializedProperty

Jun 29, '12 editor·serializedproperty·casting

1 Reply

0 Votes

avatar image

Bunny83 commented

Error, class project

May 22, '12 translation·casting

1 Reply

0 Votes

avatar image

adept22 commented

Pathfinding Issue casing Ienumerable for Nodes

May 22, '12 pathfinding·casting·linq·ienumerable

1 Reply

0 Votes

avatar image

asafsitner commented

C# cast object to gameobject not working

May 18, '12 c#·gameobject·instantiate·object·casting

2 Replies

0 Votes

  • ‹
  • 1
  • 2
  • 3
  • 4
  • 5
  • ›

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 Topic

Follow This Topic

Follow by RSS

No one has followed this topic yet.

Popular Topics

c# animation android unity 5 camera 2d rotation javascript scripting problem collision ui gui error shader movement gameobject physics rigidbody editor ios texture networking raycast instantiate collider transform terrain mesh prefab input
View all

Recent Badges

  • Famous Question   Ansn285
  • Famous Question   meta-ben
  • Notable Question   Chefsu
  • Nice Answer   Tubsiwub
  • Supporter   MrTrainMan2
  • Popular Question   NotEth4n
  • Popular Question   PennNeuro
  • Teacher   Stijn500
  • Famous Question   Robstao
  • Famous Question   Mastermarr


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