Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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 /
avatar image
0
Question by jonathan15 · Dec 11, 2014 at 11:43 AM ·

What to do when you can't make scripts

Every time I try to make a script if I even make one and don't even type anything it says internal compiler error I tried unistalling and reinstalling but that didn't work how can I fix this.

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 jonathan15 · Dec 11, 2014 at 09:43 PM 0
Share

I don't even type anything or change the name I just click make C# or JavaScript and click enter when it pops up I don't change the name I don't even edit it but it still says internal compiler error really frustrating.

avatar image Jonesy19 jonathan15 · Dec 09, 2017 at 11:53 PM 0
Share

This is a silly question, but have you rebooted your PC? That's always the first thing I do when I hit these annoying issues. Also, have you imported any assets lately? Sometimes when I import some assets, I get similar issues and they are hard to debug.

avatar image Jonesy19 · Dec 09, 2017 at 11:37 PM 0
Share

Are you creating the script in Unity, or in monodevelop/visual studio? Just to be sure, make sure you are creating it in Unity...

avatar image shadowpuppet · Dec 11, 2017 at 06:27 AM 0
Share

can you show us an example? Not long ago someone was using C# heading ( using unity engine etc etc ) but coding with unityscript ( "function OnTriggerEnter" type stuff) and got those complile errors. Another poster had changed the file name of his script. where in the script it will say "public class enemyAttack : $$anonymous$$onoBehaviour {" but he changed the file name to something else and got the compile error. If you create a script and call it "enemyAttack" that is what C# puts in the class line so rena$$anonymous$$g the file itself breaks things. WOw I just noticed this is 3 year old post. I hope you found a solution by now

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by DimensionU · Dec 11, 2014 at 11:51 AM

Does your script filename has spaces in it? "MyScript" will work, while "My Script" will not.

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 jonathan15 · Dec 09, 2017 at 10:37 PM 0
Share

No, it's one word.

avatar image
0

Answer by MrMatthias · Dec 11, 2017 at 07:57 AM

any useful information in the editor LogFiles?

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

7 People are following this question.

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

Related Questions

Accessing variables from different scripts. 3 Answers

Can't Add Scripts, even if they are very first in project and brand new 1 Answer

beginner question- several errors 1 Answer

modifying scripts for mobile 0 Answers

Script is not working 2 Answers


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