Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 Addyarb · May 24, 2016 at 06:26 PM · visualstudiobeta

Metadata file could not be found?

Hi,

I'm having a very strange error for the past couple of days. Here's what's going on:

  1. Change some code in Unity

  2. Export to Windows 10 Universal

  3. Build VisualStudio project and put app on Microsoft Hololens device

  4. Game runs fine

However, once in a while (sometimes with no code change at all) I'll get an error when I build (see error(s) below). It's the same project folder, same export settings, same everything. My only thoughts are that this must be a bug with VS because hololens is so new in it's development stage.

However, if I create a brand new project, export it as a Microsoft Universal 10 project, build to hololens, then go back into said project, import everything from the old/broken project, and build - it works... sometimes..

I'm guessing this type of error isn't specific to the hololens, but maybe to Universal 10 apps? After all, it shouldn't matter what device I'm exporting it to, right?

Then again, I've just started using VisualStudio over Monodevelop since I had to - so I'm not familiar with the in-and-outs of it yet.

What I have tried:

  • Restarting VisualStudio

  • Restarting my computer

  • Building to a new project

  • Deleting Temp files

  • Unreferencing/Referencing the firstpass assembly mentioned

  • Uninstall/Reinstall Unity Hololens Technical Preview

  • Uninstall/Reinstall Visual Studio

And pretty much everything else I could find on StackOverflow (which wasn't much)

Any help would be greatly appreciated.

alt text

vs-error.png (29.7 kB)
Comment
Add comment
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

3 Replies

· Add your reply
  • Sort: 
avatar image
6

Answer by Vega4Life · Nov 13, 2018 at 04:14 PM

Try closing Unity and deleting your entire library folder, and then restart Unity. This should make the project rebuild all the meta files.

Comment
Add comment · Show 2 · 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 kurtalp · Jun 11, 2019 at 08:10 AM 1
Share

I had this error after an update and closing and restarting unity solved it for me.

avatar image Fergmart · Nov 08, 2021 at 01:56 PM 0
Share

Thanks so much. Deleting Library folder solved it.

avatar image
0

Answer by leodluz · Nov 13, 2018 at 04:09 PM

this error is pig and annoying. Why is not it ridiculous?

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 Enemby · Oct 11, 2016 at 10:23 AM

I had the same issue in MonoDevelop. I was able to fix it by deleting some of the solution files from the project. Google also said to try backing up your project, and deleting everything besides /Assets/

Comment
Add comment · Show 3 · 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 Bonfire-Boy · Oct 11, 2016 at 10:48 AM 0
Share

Woah there, do not delete your Assets!

Deleting your Library folder (and Temp if it's there - which it may be if a build has failed) is a way of forcing Unity to rebuild metadata.

avatar image Enemby Bonfire-Boy · Oct 11, 2016 at 10:54 AM 0
Share

Woops, typo. I meant to say "besides assets". I'll edit that.

avatar image Bonfire-Boy Enemby · Oct 11, 2016 at 10:58 AM 0
Share

Fair enough! But I'd be wary of deleting the ProjectSettings folder too.

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

49 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

Related Questions

Creating .unityPackage from within Visual Studio 1 Answer

Configuration of Visual Studio csproj 1 Answer

Removing "Development build" text in a Windows Store App 0 Answers

Unity continusly reimport scripts when i open visual studio? 0 Answers

Windows phone 8.1, no mouse input in VS simulator. 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