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 comedy101experiments · Dec 01, 2011 at 09:36 PM · errorcompiling

Script compilation error. How do I fix these?

I am in the editor, after a long time of working hard on a project, I go to build and run, it gives me a message that says "Error building player because scripts had compiling errors"

Images:

http://www.4shared.com/photo/L4XGdwds/Ex1.html

http://www.4shared.com/photo/xpoi5iT_/Ex2.html

http://www.4shared.com/photo/nLHdVbmn/Ex3.html

HOW DO I FIX THIS?!?

P.S. The game works just fine when I test play it, but when I build and run it no work :(

[1]: http://www.4shared.com/photo/L4XGdwds/Ex1.html

[2]: http://www.4shared.com/photo/xpoi5iT_/Ex2.html

[3]: http://www.4shared.com/photo/nLHdVbmn/Ex3.html

Also, I am not very experienced in scripting or even game making, so I seriously don't understand most of the errors myself. Plus, I do not have the money to hire anyone, I dont even have money to BUY models.

Comment
Add comment · Show 6
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 syclamoth · Dec 01, 2011 at 09:37 PM 0
Share

Do your scripts have compiler errors? This error is usually pretty straightforward. Look in your console for the exact errors in question.

avatar image jahroy · Dec 02, 2011 at 03:32 AM 0
Share

You will get zero help until you actually share some specific information.

Are there trolls here?

avatar image FLASHDENMARK · Dec 02, 2011 at 03:32 PM 0
Share

Trolls are everywhere, even under bridges.

(Not implying the OP is one, though)

avatar image jahroy · Dec 03, 2011 at 07:46 PM 0
Share

Those images are pretty much useless, because they don't even show the relevant information.

They do indicate that your current build platform is Android, however.

Is that what you want?

It is very obvious that you do not have enough experience to make an Android game.

You should start with a standalone build.

avatar image comedy101experiments · Dec 03, 2011 at 09:48 PM 0
Share

That's what I am doing

Show more comments

4 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by jahroy · Dec 01, 2011 at 09:58 PM

Try reading the information in your console window.

(You can open the console window by choosing Window -> Console (or [COMMAND-SHIFT-C])

The compiler will usually provide you with a helpful message with a descriptive explanation of the problem.

It will even tell you the name of the script and the line number where the error occurs.

You should really keep your eye on the console all the time.

This will help prevent from finding lots of errors after a long time of working hard on a project.

Comment
Add comment · Show 7 · 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 comedy101experiments · Dec 02, 2011 at 01:50 AM 0
Share

That didnt help, Please give me an easier way, I am only a kid.

avatar image jahroy · Dec 02, 2011 at 03:30 AM 2
Share

There is no automatic way to fix errors.

Your options are to learn or to pay somebody to do it for you.

Each compiler error should be associated with a message.

If you want to write programs, you need to learn how to read and understand these messages to help you fix the errors.

That is what you do when you write programs.

Enjoy!

avatar image comedy101experiments · Dec 02, 2011 at 03:06 PM 0
Share

I cant fix them cuz of the errors, the game will not let me open/edit them.

avatar image jahroy · Dec 02, 2011 at 09:25 PM 0
Share

The errors are presumeably in your scripts.

You edit scripts with a text editor. Unity can not prevent you from doing this.

Why don't you try editing your original question to include some of the errors you see in your console.

You can open the console by choosing Window -> Console

Your console is probably filled with errors.

avatar image comedy101experiments · Dec 03, 2011 at 04:08 PM 0
Share

I posted the errors up, so check em out :)

Show more comments
avatar image
0

Answer by bula · Dec 03, 2011 at 01:42 AM

All right. i dont think that "I'm a kid would help very much" beacause if you say this i would reply : Ok...how do u expect to make the reloading scripts the char the weapons the maps and everything.....However the complient error is saying something there. Read it carefully and if u double click it will get you to the error...Ok now the second step what the error says...third step you read the error and open the script...good so far! if you dont get the error then come here try to think first not just ask for the answear cause then will be the Unity Answears Game not yours... If you still dont get and and dont get it come here copy paste and the people here will giv you an idea....By the way Unity 3d is very very logic so anyone could undestand it. Cya

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 WallzyGames · Jun 01, 2016 at 12:35 AM 0
Share

He is a copy/paste kid. Before he makes a game he needs to learn how to program.

avatar image
0

Answer by Bunny83 · Dec 04, 2011 at 10:12 PM

First of all DON'T post new questions that just say "please visit this question". If somebody have the time and is willing to help you with your problem you will get an answer. However like others say it seems you don't have much experience in developing games / programming so you should find a programmer or start learning it. (ps i deleted your useless offtopic question).

The error clearly says that the namespace "AndroidJavaObject" isn't available. That's most likely the case because you switched to standalone. If you use scripts that ONLY works on Android phones you can't build it for any other platform unless you provide a replacement script for these functions.

We have absolutely no idea what you're doing there or what packages you're using. What do you even expect from us?

ps. the console window can be maximized or undocked & resized to view more lines....

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 nareshbishtasus · Jul 02, 2018 at 09:04 AM

I fixed it by deleting some of the newly cretaed scripts and by deleting some newly imported packages...

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

9 People are following this question.

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

Related Questions

Error: error CS0029: Cannot implicitly convert type `UnityEngine.GameObject[]' to `UnityEngine.GameObject 1 Answer

[Closed] MainMenu Script error 2 Answers

Main Menu Script Issues 1 Answer

Why are these errors messing with me? 2 Answers

Need Help | Door Opening Script Error 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