• 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

Script Error

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

Dragonballelf answered

error CS0120: An object reference is required to access non-static member

Apr 10, '16 in Help Room

2 Replies

0 Votes

avatar image

regred002 published

[C#] Quaternion Rotations with Input.GetAxis problems.

Jul 8, '16 c#·rotation·scripting problem·scripting beginner·script error

1 Reply

0 Votes

avatar image

Bunny83 answered

random.range to get Random player in list? he best overloaded method match for `System.Collections.Generic.List.this[int]' has some invalid arguments Closed

May 7, '16 in Help Room

1 Reply

-3 Votes

avatar image

Bunny83 answered

Unity [Command] function UNetWeaver error

Jan 17, '19 unity 5·multiplayer-networking·script error

1 Reply

0 Votes

avatar image

shortyzsly commented

Draw call minimizer

Mar 22, '15 android·scripting problem·gui·fps·script error

1 Reply

0 Votes

avatar image

rob444 published

BCE0048: Type 'UnityEngine.Component' does not support slicing.

May 23, '15 script error

0 Replies

0 Votes

avatar image

Aleandrus published

AudioClip management by script with Unity 5

Apr 2, '15 unity 5·script error·audio.play·audio.clip

0 Replies

0 Votes

avatar image

Bunny83 commented

GetComponent() ?? Add() throws an error; GetComponent() == null ? Add : Get does not?

May 2, '18 script error·syntax

1 Reply

0 Votes

avatar image

Heptazane commented

.NET Standard 2.0 reference not recognised

Apr 19, '19 script error

0 Replies

2 Votes

avatar image

Pangamini answered

Asset Script not working

Jul 4, '19 asset·script error

3 Replies

0 Votes

avatar image

jjxtra answered

UNetWeaver error

Jul 31, '18 in Help Room

1 Reply

2 Votes

avatar image

ahaykal commented

What's Wrong With This Script? Closed

Jan 17, '14 script error·rts·click to move

1 Reply

0 Votes

avatar image

JedBeryll answered

Can't change light colour.

Oct 5, '16 in Help Room

1 Reply

0 Votes

avatar image

unimechanic converted comment to answer

Having problem with a basic guess the number script

Jan 16, '15 script error

1 Reply

0 Votes

avatar image

mokhan97 published

error CS1729

Jan 21, '15 script error

1 Reply

0 Votes

avatar image

CubicPro answered

Camera Switch Error

Jun 3, '16 in Help Room

2 Replies

0 Votes

avatar image

TrivialRoo published

Photon Network death not working.

Jan 24, '14 networking·photon·script error·build error

0 Replies

0 Votes

avatar image

TheDividedSegment commented

Object reference not set to an instance of an object

Feb 15, '14 script error·click objects

1 Reply

0 Votes

avatar image

zharik86 commented

Simple Coding Error Help - C# - Following Packt Book

Feb 28, '14 c#·script error·simple

1 Reply

0 Votes

avatar image

Defcon44 published

Error CS1502 in script

Apr 19, '14 script error·cs1502·cs1503

0 Replies

0 Votes

avatar image

subzer0 commented

Scripts named 'Grenade.js' exist in multiple locations

Feb 1, '14 script error·location

1 Reply

0 Votes

avatar image

MrTiger edited

count down and restart level not working ?

Dec 23, '14 script error

2 Replies

0 Votes

avatar image

StilFace edited

Build fails, but Console/Editor.log not showing errors

Dec 10, '16 in Help Room

0 Replies

1 Votes

avatar image

Hassan_N published

"StateMachineBehaviour" Not working for sub sates ?

Jul 31, '16 unity 5·scripting problem·animator·script error·state-machine

0 Replies

0 Votes

avatar image

stevensu1838 published

How to access Vive controllers in a script attached on a simple game object(a cube)?

Apr 24, '19 controller·script error·accessing from any script·accessing scripts

0 Replies

0 Votes

avatar image

KdRWaylander answered

How use the function Application.LoadLevelAsync(level);

Apr 3, '15 scene-loading·script error·scene-switching·scene-change

1 Reply

0 Votes

avatar image

AshwinTheGammer commented

(C# and Java)Unable to give the Damage from enemy bullet script to Player Health.

Dec 9, '17 c#·javascript·scripting problem·script error·health

3 Replies

0 Votes

avatar image

robertbu commented

Object reference not set to an instance of an object.

Mar 9, '14 script error

0 Replies

0 Votes

avatar image

Perrymanon published

When attempting to call a method from within another script I get this error.

Mar 11, '14 reference·script error·delegate·another script

3 Replies

0 Votes

avatar image

Cherno commented

The name `Fade' does not exist in the current context

Mar 15, '15 script error

0 Replies

0 Votes

  • »
  • ‹
  • 4
  • 5
  • 6
  • 7
  • 8
  • ›
  • »

Followers

avatar image 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

scripting problem c# scripting beginner script. error unity 5 error message scriptingbasics javascript scriptingproblem gameobject scripterror animation ui camera nullreferenceexception beginner unity5 unityeditor compiler error networking build-error android unity 2d visual studio


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