• 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
1
Question by kreeach91 · Nov 23, 2013 at 12:12 AM · 4.3

error CS0246 Problems finding UnityEngine

Hello,

I recently updated to Unity 4.3 and have been having issues compiling code in MonoDevelop since the update. I keep getting the same error (Error CS0246: The type or namespace name `UnityEngine' could not be found. Are you missing a using directive or an assembly reference? (CS0246)). The problem never came up before the update, and I haven't changed anything about the code since. Any ideas?

Here is my current header:

 using UnityEngine;
 using System.Collections;
 using System.Collections.Generic;
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 jovino · Nov 23, 2013 at 12:32 AM 0
Share

You said you are compiling code in $$anonymous$$onoDevelop

Are you seeing that error in console window, hitting play from editor? What happens if you build from unity?

avatar image kreeach91 · Nov 23, 2013 at 01:33 AM 0
Share

There are other errors in the console window when I attempt to hit play. Before that, there was a problem where it would run an older version of the code. Again, did not have this problem before the update and I have the same problem when I create a new script as well.

avatar image slippdouglas · Jan 04, 2014 at 12:47 AM 0
Share

Getting the same here. Building/rebuilding in $$anonymous$$onoDevelop because Unity's spitting a Internal compiler error with a non-helpful unsymbolicated stacktrace.

avatar image Drake01 · Apr 08, 2016 at 10:58 AM 0
Share

Was this issue resolved? If so, please tell me because I am having the same problem.

0 Replies

· Add your reply
  • Sort: 

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

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

19 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

Related Questions

Cookie Header With WebPlayer Unity3d 4.3 3 Answers

Simple animation on game object doesn't play via animation.Play 1 Answer

Android Anti Aliasing broken with Unity 4.3.0 -> 4.3.2, but works on Unity 4.2. 1 Answer

Performance spikes even with almost empty scene 3 Answers

Detecting Mouse Click on 2D Sprite 4 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges