• 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

nico_rawitscher commented

Casting FindGameObjectsByTag to another type

Aug 26, '18 in Help Room

1 Reply

0 Votes

avatar image

Hellium commented

InvalidCastException

Aug 6, '18 scripting problem·casting

0 Replies

0 Votes

avatar image

bennett_apps answered

Unable to create a reference to an instantiated object and alter it?

Aug 2, '18 in Help Room

1 Reply

0 Votes

avatar image

robinking commented

Can I use generic objects as variables then cast them upon construction?

Jun 12, '18 object·class·generic·casting

2 Replies

0 Votes

avatar image

Bunny83 answered

Serialisation: InvalidCastException: Cannot cast from source type to destination type.

Jun 9, '18 c#·error·casting

1 Reply

0 Votes

avatar image

Atulyextel2 edited

Cast Texture2d to Sprite

Jun 6, '18 sprite·texture2d·casting

4 Replies

1 Votes

avatar image

ShadyProductions edited

Upgrading a Custom Class into an Inheriting Class

Jun 4, '18 inheritance·casting·oop

2 Replies

0 Votes

avatar image

Codinablack commented

Why I Cannot cast from source type to destination type

Mar 1, '18 in Help Room

0 Replies

0 Votes

avatar image

peachpieproductions edited

Upcasting via GetComponent()

Jan 18, '18 getcomponent·cast·casting

0 Replies

0 Votes

avatar image

jpierre88 asked

Change vertex normals on collision

Jan 11, '18 in Help Room

0 Replies

0 Votes

avatar image

CStampGames answered

Is this a glitch??? My attackCooldown float rounding to 1, only when I use a variable. Works if I hard code in the value

Oct 29, '17 in Help Room

1 Reply

0 Votes

avatar image

Namey5 commented

How do you stop shadows from casting through meshes?

Sep 18, '17 lighting·shadows·directional light·casting·forward rendering

0 Replies

0 Votes

avatar image

laoril commented

Filling a basic ParentClass list with ChildClass "dynamically"

Sep 16, '17 dynamic·parent-child·casting

1 Reply

0 Votes

avatar image

$$anonymous$$ edited

Is There A Way To Cast On 1 Returning Value 2 Times? Closed

Aug 7, '17 c#·float·int·cast·casting

5 Replies

0 Votes

avatar image

tonOnWu answered

How to cast/convert a ControllerColliderHit into a Prefab

Aug 1, '17 convert·cast·casting·controllercolliderhit

2 Replies

0 Votes

avatar image

nbarber20 edited

Parseing JTokens

Jul 25, '17 json·script error·casting

0 Replies

0 Votes

avatar image

Valkarth asked

InvalidCastException: Cannot cast from source type to destination type.

Jun 20, '17 in Help Room

0 Replies

0 Votes

avatar image

bobisgod234 commented

Direction and Distance from One Object to Another

Jun 8, '17 vector3·float·casting

1 Reply

0 Votes

avatar image

Zilppuri commented

Float to Int in Unity Shaders

Apr 19, '17 shader·shaders·casting

1 Reply

0 Votes

avatar image

ngrimesdev published

implicit reference conversion from `RPGItem' to `UnityEngine.ScriptableObject'? Closed

Mar 12, '17 scriptableobject·casting

0 Replies

0 Votes

avatar image

Kossuranta edited

BoxCast: Ignore Collisions with certain layers?

Feb 20, '17 collision·collision detection·casting

1 Reply

0 Votes

avatar image

$$anonymous$$ edited

Checking for a class type issue Closed

Feb 9, '17 in Help Room

1 Reply

0 Votes

avatar image

Landern answered

Cannot implicitly convert type `int' to `byte'. An explicit conversion exists (are you missing a cast?)

Dec 15, '16 in Help Room

2 Replies

0 Votes

avatar image

denmla1000 published

InvalidCastException: Cannot cast from source type to destination type.

Dec 9, '16 error·serialization·casting

2 Replies

0 Votes

avatar image

mabakay commented

What is the difference between "prefix-casting" (Type)variable - and "as-casting" (variable as Type)?

Dec 7, '16 scriptingbasics·casting

2 Replies

7 Votes

avatar image

ElijahShadbolt edited

How do I cast an IntPtr to another class?

Nov 18, '16 parameters·native plugin·pointer·casting·dllimport

0 Replies

0 Votes

avatar image

rabari published

how to screen mirroring mobile to tv in unity3d?

Sep 8, '16 android·screen·mirror·cast·casting

0 Replies

0 Votes

avatar image

John_Sherer edited

Script Wrapper Class

Jul 31, '16 c#·array·class·casting

1 Reply

0 Votes

avatar image

ewoudwerf published

Chromecast plugin for Unity

Jul 23, '16 in Help Room

0 Replies

0 Votes

avatar image

elenzil commented

hide your children, there's a float-to-ushort casting bug in the xcode 7.3.1 compiler

Jun 4, '16 xcode·casting·compiler bug

0 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