• 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

Object Reference

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

XQuirky_TurtleX commented

Object has no problem finding instance in editor. However in build it does.

13 hours ago build·instance·state-machine·object reference

1 Reply

0 Votes

avatar image

LaphicetCrowe commented

Object pool with DOTS?

yesterday object reference·dots·object pool

1 Reply

1 Votes

avatar image

fxavierfaust published

Encountering "Null Reference Exception: Object reference not set to an instance of an object" in Build, but not in Editor

Jan 13, '21 build-error·nullreferenceexception·object reference

0 Replies

0 Votes

avatar image

bucaromarissa published

Why isn't my list reflecting the changes I make to my object?

Dec 3, '20 in Help Room

0 Replies

0 Votes

avatar image

xxmariofer commented

Alternative to FindObjectOfType and calling function from another script

Nov 18, '20 in Help Room

1 Reply

0 Votes

avatar image

CodesCove answered

How to clamp rotation of an object?

Nov 8, '20 rotation·clamp·object reference·clamped rotation

2 Replies

0 Votes

avatar image

outramjamie_unity commented

split object when player touches anywhere in the screen

Nov 2, '20 instantiate·object·shooting·object reference·split

1 Reply

0 Votes

avatar image

marcosvfariass published

I want to create an object that only moves if i click in others 4 objects that i have in the scene

Sep 28, '20 in Help Room

0 Replies

0 Votes

avatar image

crezilinxefizem commented

Manipulating one variable in a different script.

Sep 20, '20 scripting beginner·object reference

1 Reply

0 Votes

avatar image

DanJa512 answered

How to properly check serializedProperty.objectReferenceValue for null?

Sep 18, '20 serializedproperty·object reference·typecast

1 Reply

2 Votes

avatar image

Redsam121 edited

Nullreference Exception with ScriptableObject

Sep 17, '20 nullreferenceexception·scriptableobject·inventory system·object reference·instances

0 Replies

0 Votes

avatar image

TkTintenauge asked

snapping the Players psosition to another GameObject for a "Ledge grab"

Aug 16, '20 in Help Room

0 Replies

0 Votes

avatar image

Snweos commented

Help Simple adding a GameObject to an ObjectField()

Jul 28, '20 in Help Room

1 Reply

1 Votes

avatar image

Goliath520 commented

object being called doesn't seem to be recognized

Jul 20, '20 object reference

1 Reply

0 Votes

avatar image

MrWalbert answered

Why do my first 50 instances of a prefab have the same properties?

May 21, '20 in Help Room

1 Reply

0 Votes

avatar image

stc664 answered

Why video texture missing after playing video for the second time? and only play the audio

May 14, '20 in Help Room

3 Replies

0 Votes

avatar image

Ranimo1 asked

Object Reference error when no object is being referenced.

Apr 4, '20 in Help Room

0 Replies

0 Votes

avatar image

FlaSh-G commented

Ball wont destroy in collision even though that the ball are public GameObject

Apr 1, '20 collision·trigger·destroy object·object reference·2d collision

3 Replies

0 Votes

avatar image

HankaMostowiak edited

Almost every object reference in every script not set to an instance of an object after importing unity package.

Mar 16, '20 importing·package·object reference

0 Replies

0 Votes

avatar image

tormentoarmagedoom answered

Invisible Prefab spawning at location of Player before being instantiated

Mar 3, '20 in Help Room

1 Reply

0 Votes

avatar image

Namey5 answered

I can't use a public non-static int in another script

Feb 9, '20 singleton·object reference·nonstatic·multiple instaces

1 Reply

0 Votes

avatar image

gputhread answered

[vector3] object reference not set to an instance of an object

Jan 25, '20 vector3·object reference

2 Replies

0 Votes

avatar image

Fariborzzn commented

How can I enable my capsule to move; object 'target' not recognized.

Jan 17, '20 movement·movement script·object reference·moveposition·movements

0 Replies

0 Votes

avatar image

CStampGames published

Android Build Failure: NullReferenceException

Dec 1, '19 in Help Room

0 Replies

0 Votes

avatar image

Meishin edited

My Instantiated Button doesn't work on non instantiated objects.

Aug 31, '19 instantiate·buttons·object reference

1 Reply

0 Votes

avatar image

Nightfrost00 asked

2D array loses all GameObjects on scene change despite objects don't destroy on load

Aug 7, '19 array·object reference

0 Replies

0 Votes

avatar image

officialkattenelvis edited

How do I pass in a GameObject as a parameter when I'm instantiating a class?

Jul 14, '19 in Help Room

0 Replies

0 Votes

avatar image

sjhalayka answered

What is better for Object Recognition with Unity? OpenCV or YOLO?

Jun 15, '19 objects·object reference·opencv·recognition

1 Reply

0 Votes

avatar image

sanketprabhu answered

How to get the currently selected object in the project window only

Jun 12, '19 scripting problem·editor·editor-scripting·editorwindow·object reference

2 Replies

2 Votes

avatar image

jaydeepmodha1 answered

Reference disappearing from inspector on Play

Jun 5, '19 javascript·inspector·reference·object reference

1 Reply

0 Votes

  • 1
  • 2
  • 3
  • 4
  • 5
  • ›
  • »

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Related Topics

nullreferenceexception c# instance error object object-reference-error error message scripting problem null null reference exception objects reference non-static unity 5 movement script beginner array instantiate variable gameobject javascript list editor getcomponent collision
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges