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
1
Question by Mostley · Jun 24, 2011 at 01:27 PM · assetsfilerefreshreimport

How to fix Unity autorefresh

I get the behaviour while using unity in combination with visualstudio. Some files just wont auto refresh in unity. The only solutions I hav found so far are:

  • Reimport all

  • rename, switch to editor, wait until it recognizes the file as missing, switch back, rename back, switch to editor again

It's really bothering and makes coding on unity tiresome.

Does anybody know why Unity can't recognize the file change?

I'm on Windows 7 64

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 Joshua · Jun 24, 2011 at 01:44 PM 1
Share

Are you using unity pro? Because Visual Studio does not work well with Indy.

avatar image Mostley · Jun 25, 2011 at 09:02 AM 0
Share

no, that's a shame...is there a way to enforce unity to recognize the change? like touching the file or perhaps via editor script?

avatar image Meltdown · Jun 25, 2011 at 09:12 AM 0
Share

Thats strange, I use Visual Studio to change my code files and as soon as I focus back into Unity the files are refreshed. Are you editing the files that are directly in the assets folder of your project? Did you also set VS as your default editor in Unity?

avatar image Mostley · Jun 25, 2011 at 10:21 AM 0
Share

both points, yes. It only appears with some files, but with those it's persistent. Sometimes I find a file that triggers a refresh on all others when edited. But that effect is not persistent :/

avatar image Slem · Jun 25, 2011 at 07:40 PM 1
Share

I often encounter the same problem and all I do is to switch back to VS and spam ctrl-s about five times. Usually when I return to Unity it will recompile.

Show more comments

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by VisionPunk · Oct 10, 2012 at 11:21 AM

This problem can be caused if you have enabled meta files in Project Settings, but have set the file attribute to "Hidden" on the meta files. Unity just stops refreshing, but will refresh fine if you open a project that doesn't use meta files, or if you unhide 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 Mostley · Oct 10, 2012 at 12:03 PM 0
Share

my problem no longer happened around update 3.5

avatar image VisionPunk · Oct 10, 2012 at 01:51 PM 0
Share

Great! I have seen this problem in Unity 3.5.2 though.

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

6 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Auto-refresh assets after changing scriptable object 0 Answers

Path for Assets/Textures folder File in Android 2 Answers

Build Settings interface is different after reimporting assets,something wrong with build settings after reimporting all assets 0 Answers

Access Unity assets natively on Android and iPhone? 0 Answers

Reimport standard meshes in Unity? 1 Answer


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