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 Doug 2 · Mar 06, 2011 at 10:27 AM · errorsyntax-errorbce0019bce0005unknown-identifier

I got a major question

Im getting these errors. I need help, i've tried the other helps but i cant understand them. I need someone to pretty much talk to me like im 3 so i can understand this. Reading these huge pages with technical terms with loops and circles on what to do are confusing me. So if anyone can just give me a straight forward answer that would be SO VERY HELPFUL. Heres some of the errors:

Assets/Scripts/enemies/turret/Turret.js(263,28): BCE0019: 'GenerateDecal' is not a member of 'Turret'.

Assets/Scripts/weapons/Gun.js(411,43): BCE0005: Unknown identifier: 'HitType'.

They are errors like that.

Comment
Add comment · Show 5
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 stijn · Mar 06, 2011 at 10:54 AM 4
Share

You don't seem to be a coder, so I'm gonna guess you're trying to run some game you downloaded the source of. So either you're missing some files, or some files are of an old version, or the source as a whole didn't compile before you downloaded it. Best point to start for you, is the original source you downloaded and see if you can run that.

avatar image Doug 2 · Mar 06, 2011 at 08:28 PM 0
Share

im trying to use unity to make a game, im getting those errors. and im not used to these codes, i just got unity and im trying to learn it. But im trying to test my game, and it says i have to fix the errors before i can do it. but idk how to fix it. I know about the red dot at the bottom left, you double click that etc.. idk what to put to fix it. i've been looking into it on this site and there are answer, but i cant understand them. thats what im asking. Something a 4yo can understand.

avatar image DaveA · Mar 06, 2011 at 08:31 PM 1
Share

If you could paste some code in your question (edit it), it might help, but stijn is probably correct, you've probably got corrupt or incomplete file, or old ones. Or ones that never were tested.

avatar image Doug 2 · Mar 06, 2011 at 08:45 PM 0
Share

Im slowly getting used to this. But, I deleted all my assets from the unity project tab, and added one at a time. The first thing i imported was terrains. It got errors. They say "terrain splat 1 is null" "terrain splat 0 is null" "a tree couldn't be loaded because a prefab is missing".

and thanks for all your help everyone

avatar image Doug 2 · Mar 06, 2011 at 08:47 PM 0
Share

and if i do have corrupt/incomplete/old files, how do i fix it?

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by cidmodder · Mar 07, 2011 at 04:32 PM

it's hard to say without any code but usually I get those errors when I haven't definded them properly. "HitType" was probably a variable in an example script? You just don't have anything in the script that is HitType. You'll need something like HitType= whatever you want.

For the Turret I'm not really sure without seeing some code.

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

No one has followed this question yet.

Related Questions

I have an error while building the game 1 Answer

jumping error!? 4 Answers

Enabling / Disabling C# Scripts - Why am I getting the error "not a member of 'UnityEngine.Component'"? 1 Answer

Script won't run level (platformer tutorial) 1 Answer

rigidbody' is not a member of 'UnityEngine.Object ? 4 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