Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • 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
  • Home /
  • Help Room /
avatar image
1
Question by amoxe234 · Dec 24, 2018 at 05:00 PM · errorscript.unity 2dmonobehaviour

can't add script behaviour TMP_SelectionCaret . The script need to derive from MonoBehaviour

I just installed unity i wanted to add a script to a sprite and then they give me this error i don't know how to fix it please need some help alt text

capture.png (21.6 kB)
b.png (92.8 kB)
Comment
Add comment · Show 4
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Vega4Life · Dec 24, 2018 at 05:14 PM 1
Share

Can you post the script code you are trying to add?

avatar image amoxe234 Vega4Life · Dec 24, 2018 at 09:19 PM 0
Share

i didn't write anything in the script this guys @Imperfecto has the same problem

avatar image Imperfecto · Dec 24, 2018 at 07:58 PM 0
Share

i have the same problem i also formatted my pc and re-donwload unity to see if that work but its the same, i dont make anything, just create a new project and create a empty script and i cant add it to a object, also say that went i create a new project it have four empty errors in console and went i click they, dont open nothing

it donts matter what script is i just make a new and i cant add it, i cant add scritps from a project that i downloaded, there is no name errors

help please i cant do anything :C

avatar image bitandev · Mar 13, 2019 at 11:03 AM 0
Share

The problem is that you are probably using windows 7, this problem is happening for those users who are using newer version of unity editor (Unity 5 latest edition). This can be solved through two ways: 1)uprgrade to windows 10 2) or download and install an older version of unity . Let's hope that this was helpful P.s you can even try to remove the advertisement package through package manager ,you can give it a shot but still i am not sure whether it will work or not. :)

4 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by Imperfecto · Dec 25, 2018 at 02:09 AM

I could find a solution, create a new project and then click on the packages and select "open in explorer" then I delete all the packages, when I do that the errors in the console disappear, but I still can not create a script, to solve that, import a project ("3rd Person Controller + Fly Mode "in my case) and then I could create and add new scripts, then delete all of "3rd Person Controller + Fly Mode" and now I have a clean project to work with.

i tried to create a new project and import "3rd Person Controller + Fly Mode" at the same time but it did not work, not even deleting the folders, I do not know why

so every time I want to create a new project I have to do the whole process again

the folders that you have to delete are those that are inside the project in PackageCache

= New Unity Project \ Library \ PackageCache

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Imperfecto · Dec 25, 2018 at 03:38 PM 0
Share

i found a better solution, install window 10 and now i dont have errors.

the version that i install is "Window 10 Home N Insider Preview build 18290"

avatar image
0

Answer by askar270296 · Feb 22, 2019 at 06:03 AM

Hello friend, I have such a problem, if you find her solution can you share it?

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image bitandev · Mar 13, 2019 at 11:02 AM 0
Share

The problem is that you are probably using windows 7, this problem is happening for those users who are using newer version of unity editor (Unity 5 latest edition). This can be solved through two ways: 1)uprgrade to windows 10 2) or download and install an older version of unity . Let's hope that this was helpful

avatar image
0

Answer by petroandon0 · Mar 21, 2019 at 03:07 AM

@bitandev please help me with the version of Unity i need to download and install,@bitandev bro which unity editor version works because i have the same problem and i am thinking to download older version of Unity but i dont know which one . It would be very helpful to me if you share the information

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by fernandoor · Mar 27, 2019 at 12:11 PM

In Player Settings -> Configuration -> Scripting Runtime Version, try to set .NET 3.5 Equivalent. It's work for me.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

205 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

IAP error NullReferenceException: Object reference not set to an instance of an object 2 Answers

First person Character Controller Script Error, 0 Answers

Unity Firebase Google SignIn Error Help 0 Answers

error CS1704: An assembly with the same name `Editor' has already been imported. Consider removing one of the references or sign the assembly 2 Answers

Cannot convert String to int 1 Answer


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