• 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

Reference

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

EliasMiettinen answered

After instantianting gameobjects, unity cant asign references anymore

Dec 21, '21 c#·error·error message·reference·insantiate

1 Reply

0 Votes

avatar image

zecuria commented

Can't access direct reference to method of a script in a different Object

Oct 10, '16 in Help Room

1 Reply

0 Votes

avatar image

Quakeee asked

Object Reference not set somewhere in the List, but can't figure it out.

Mar 20, '17 in Help Room

0 Replies

0 Votes

avatar image

andrewhdall commented

Can my script instantiate an object then get that object for use in the script

May 25, '20 gameobject·instantiate·ai·reference

1 Reply

0 Votes

avatar image

SoggyKicks published

Storing all the gameObject references in one script?

Jun 20, '21 in Help Room

0 Replies

0 Votes

avatar image

Penhry asked

Referencing the rotation of a child?

Oct 31, '17 in Help Room

0 Replies

0 Votes

avatar image

bogweasel commented

Im not sure why this works, Class referencing & memory question,

Nov 9, '19 reference·classes

1 Reply

0 Votes

avatar image

hballamco asked

Identifying the attacker in multiplayer

Feb 10, '20 multiplayer·script.·reference·damage·shield

0 Replies

0 Votes

avatar image

flomby published

The referenced script on this Behaviour is missing - on any new script

Nov 5, '20 in Help Room

0 Replies

0 Votes

avatar image

dec29 commented

After Reloading scene, reference is switched to another refrence

Mar 26, '20 in Help Room

1 Reply

0 Votes

avatar image

Mr_Alpaca asked

Need help with pressing on a sprite to put another sprite higher in the sorting order

Apr 15, '21 android·gameobject·reference·spriterenderer·sorting order

0 Replies

0 Votes

avatar image

s_guy edited

documentation relevant to 4.x?

Oct 10, '15 reference·4.6·documents

0 Replies

0 Votes

avatar image

cirrusplay edited

Prefab from file reference not cloned?

Aug 11, '17 prefab·reference·clone

1 Reply

0 Votes

avatar image

henkehedstrom answered

Variable to component keeps old value, even after using GetComponent again

Jan 7, '22 component·reference·reference-other-object

1 Reply

0 Votes

avatar image

Allurance commented

Can't re-enable a gameobject

May 9, '22 2d·ui·gameobject·reference·reference-other-object

1 Reply

0 Votes

avatar image

CoreDLL answered

Modify private set properties.

May 21, '22 reference·reflection·security

1 Reply

0 Votes

avatar image

xxmariofer commented

Why isn't my coroutine working when I call it from another script.

Nov 4, '19 in Help Room

0 Replies

0 Votes

avatar image

Nyhtian commented

Reading reference variable alters said reference variable

Feb 26, '20 array·variable·reference·custom-class

1 Reply

0 Votes

avatar image

Gluklichman1991 answered

Reffering to gameObject that Instantiated this gameObject

Feb 26, '20 gameobject·reference·bomb

1 Reply

0 Votes

avatar image

HappyPixel27 answered

Yellow problem on VSCode,working code but worried.Referencing another script variable.

Jul 2, '20 scripting beginner·reference

1 Reply

0 Votes

avatar image

PenguinMafia published

How to have GameObjects keep script references?

Jul 11, '20 in Help Room

0 Replies

0 Votes

avatar image

AdityaSingh666 asked

Losing references in all scripts after changing the location of the unity editor

Nov 15, '21 editor·reference·namespace

0 Replies

0 Votes

avatar image

Darragh_Connaughton published

The referenced script on this Behaviour is missing: Changing scenes.

Mar 14, '16 in Help Room

0 Replies

0 Votes

avatar image

mauriciomb answered

Trying to reference a variable from a different script but getting error.

Jan 2, '18 reference

2 Replies

0 Votes

avatar image

ThatGuy52699 commented

Slider reference lost when scene changes

Dec 28, '21 scene·reference

1 Reply

0 Votes

avatar image

Ahndrakhul answered

Getting a null reference when trying to access one script from an other

Feb 6, '16 in Help Room

1 Reply

0 Votes

avatar image

Hellium commented

How do I access another script in Unity C# 2018.2?

Dec 19, '18 in Help Room

0 Replies

0 Votes

avatar image

HM_0000000 answered

How to add GameObjects to a list? Start can not take parameters? Closed

Jul 25, '20 in Help Room

1 Reply

0 Votes

avatar image

varigeri92 commented

colliders arenot colliding

Aug 22, '20 rigidbody·unity 2d·colliders·raycasting·reference

1 Reply

0 Votes

avatar image

Captain_Pineapple edited

How do I reference any instance of a prefab?

Apr 13, '22 prefabs·reference·prefab-instance

1 Reply

0 Votes

  • »
  • ‹
  • 30
  • 31
  • 32
  • 33
  • 34
  • ›

Followers

avatar image avatar image avatar image

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.

Related Topics

c# gameobject object error scripting problem null instantiate variable instance prefab nullreferenceexception exception javascript getcomponent referencing assembly script. class list error message function static ui inspector boolean


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