• 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
4
Question by limonad76 · Sep 20, 2011 at 11:01 PM · namespace

unity 3.4.1f5 namespace error

Right after installing 3.4.1f5 I've got message "Namespace 'UnityEditor' not found, maybe you forgot to add an assembly reference?" error when compile the project. This error is present in Standart Assets scripts only (CharacterMotor, camera scripts etc). WTF?)

Comment
Add comment · Show 9
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 daniel_horn · Sep 21, 2011 at 12:03 AM 0
Share

I got these as warnings in the previous revision of Unity, but in today's update I get the above as errors as well.

I'm considering porting the files to C# to see if that fixes it--does anyone else know why it thinks those javascript files are referencing UnityEditor?

Edit: wow these files are really long: any one have a solution that doesn't involve $$anonymous$$dless porting of the javascript scripts to C#?

avatar image liuqingzhi · Sep 21, 2011 at 08:59 AM 1
Share

I got the same problem.

avatar image York Wu · Sep 21, 2011 at 09:36 AM 1
Share

I got the same problem, too. I can do nothing but roll back to older version since I have a lot of JavaScript code.

avatar image limonad76 · Sep 21, 2011 at 09:57 AM 1
Share

Take the time to do rollback. I have this problem while compilation but looks like my own scripts compiled and works properly.

avatar image DanDixon · Sep 22, 2011 at 12:11 AM 1
Share

Same problem here. When I click the "Debug" button (the gears) in $$anonymous$$onoDevelop I get this error in AntialiasingAsPostEffect.js (in Standard Assets/Images Effects (Pro Only)).

Rolling back to 3.4.0 fixes this problem.

I'm running on a Windows 7 machine.

Show more comments

12 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by AstralProjection · Apr 07, 2013 at 01:49 AM

This is still a problem in 4.1.

  • new project

  • add a single new blank script

  • namespace error when you try to compile

=(

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 mateiasu · Jun 23, 2013 at 01:34 PM

This could have happened because of a UnityEditor reference in the .unityproj files. See this post if it occurs again: http://answers.unity3d.com/questions/419565/unity-41-javascript-compile-unityeditor-not-found.html

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
  • ‹
  • 1
  • 2
  • 3

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.

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.

Follow this Question

Answers Answers and Comments

21 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

Related Questions

error CS0246: The type or namespace name `rect' could not be found. 1 Answer

Why should we don't use namespace? 1 Answer

Unity overwrites files with the same name but in different namespaces on package import? 6 Answers

Namespaces usage recommendation 1 Answer

Inspector references and scripts with the same name 0 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