• 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 N1warhead · Feb 20, 2018 at 01:55 PM · buildbugbuild-errorbugsbuild and run

Unity is broken completely

Earlier I switched my project to Android to test it out because I wanted to introduce Cross-Play for my game, so I wanted to do some initial testing just to test performance.

Well needless to say, I switched back to PC.

And now I'm getting over 500 errors only during a build.

All the namespaces are missing "UnityEngine" "RenderTexture" "Material" "Color" "Texture2D"

just everything, I've tried deleting the Library folder and letting it re-build, but no luck.

Comment
Add comment · Show 2
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 N1warhead · Feb 20, 2018 at 02:15 PM 0
Share

I also just tried bring in the UnityAssemblies folder from another project like I read - nope didn't work either.

avatar image meat5000 ♦ · Feb 24, 2018 at 06:25 AM 0
Share

Is this simply a case of switching between the Standard Assets and $$anonymous$$obile directories?

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by BenouKat · Feb 20, 2018 at 02:30 PM

Hmm. Something went wrong :p Just re-install Unity and see if it's better.

Comment
Add comment · Show 13 · 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 N1warhead · Feb 20, 2018 at 02:52 PM 0
Share

Just tried that after you mentioned it: nope still don't work.

avatar image BenouKat N1warhead · Feb 20, 2018 at 02:55 PM 0
Share

You should check this thread : https://answers.unity.com/questions/647870/unityengine-could-not-be-found.html

avatar image N1warhead · Feb 20, 2018 at 03:07 PM 0
Share

I don't think you're understanding, I'm not getting the error in the engine, everything in the game works, it's only when I do a build do these errors pop off and won't complete the build.

I don't use Visual Studio, so I can't do that one, but I've attempted the other answers on that page and it won't work (Read that one earlier).

It all comes down from two potential issues Either the error happened because I changed over to android then back to PC or it happened because I installed Facebook Gameroom (I used to have weird issues with it being installed), but during re-install I got rid of it. (I had did a re-install earlier to install the Android module). So I just included the GameRoom part with it.

But yeah, I done give up on this, this game isn't worth this aggravation.

But I appreciate your help mate, nice to know at least someone cares lol.

avatar image BenouKat N1warhead · Feb 20, 2018 at 03:10 PM 0
Share

Oh I didn't notice the "only during build", I read too fast.

It's very weird, does the missing references happened on EVERY script, or just few ones ?

avatar image N1warhead BenouKat · Feb 20, 2018 at 03:16 PM 0
Share

Yeah it's only during a build LOL.

Eh it seems kinda random. Before reinstall it was popping off over 500 errors, just complaining about the same things on everything, but after re-install, now it's only 170, but yeah.

Not worth my time, everything in the world is trying to prevent me from making this game, perhaps it's a sign I can't afford the multiplayer end of this once it was released, lol. (128) player matches won't be cheap by any means lol. Time to do a scaled down $$anonymous$$P game lol.

Show more comments
avatar image MezFo · Feb 24, 2018 at 08:50 AM 0
Share

Did you by any chance save your build inside your project? I have done that in the past which caused a similar sounding problem.

avatar image meat5000 ♦ MezFo · Feb 24, 2018 at 08:52 AM 0
Share

You mean you placed your build folder in to your Assets directory?

avatar image MezFo meat5000 ♦ · Feb 25, 2018 at 08:44 AM 1
Share

I didn't place it there. When I went to do the build for some reason the save path was my asset directory. I of course noticed that as soon as I couldn't find the build on my desktop so I went back into the project and did another build with the correct save path to my desktop but when I started up the build I got heaps of errors where as when I started it in unity I got no errors. Luckily it was a new project that I hadn't really done much with so i just created a whole new project.

Show more comments

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

89 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 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 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 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 avatar image avatar image avatar image avatar image avatar image

Related Questions

Unity WebGL build blue screen (skybox) 3 Answers

Cloud Build fails with Analytics.AnalyticsEvent (2019.2.1f) 1 Answer

[Unity 2017.3.0f3] Cannot open my build it Crashes (with crash Raport) 1 Answer

Help me! I wanted to build my project, but it gives this error.How can I fix it? 1 Answer

Unable to install APK to device 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